Skip to content

Allow setStyle diff by default with localIdeographFontFamily on - #8081

Merged
mourner merged 2 commits into
masterfrom
fix-setstyle
Mar 26, 2019
Merged

mourner merged 2 commits into
masterfrom
fix-setstyle

Conversation

@ryanhamley

Copy link
Copy Markdown
Contributor

Launch Checklist

  • briefly describe the changes in this PR
    • I noticed during testing that calling map.setStyle() does not use the style diffing pathway by default since Enable local ideograph generation by default  #8008. This PR fixes that by only short-circuiting the diff pathway if map.setStyle sets a new localIdeographFontFamily on the map.
  • write tests for all new functionality
  • manually test the debug page

@ryanhamley

Copy link
Copy Markdown
Contributor Author

Would love to get this into 0.54 beta

@mourner mourner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoa, good catch!

@mourner
mourner merged commit fb9fc31 into master Mar 26, 2019
@mourner
mourner deleted the fix-setstyle branch March 26, 2019 14:50

@asheemmamoowala asheemmamoowala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

mourner added a commit that referenced this pull request Apr 25, 2019
* release-liquid: (84 commits)
  v0.54.0 (take two) (#8184)
  Fix disappearing controls in Safari 12+ (#8193) (#8194)
  [docs] token refactor in docs-page-shell (#8174) (#8181)
  v0.54.0-beta.2 (#8166)
  Bugfix - removeFeatureState fails with target.id === 0 (#8150) (#8164)
  update one more frame after canvas source paused (#8130) (#8163)
  move docs dependencies to dev (#8121) (#8129)
  v0.54.0 (#8115)
  CP removeFeatureState fix (#8090)
  v0.54.0-beta.1 (#8084)
  Allow setStyle diff by default with localIdeographFontFamily on (#8081)
  Upgrade various (mostly dev) deps, downgrade GL (#8078)
  Fix default marker positioning (#8074)
  Use @mapbox/gazetteer for benchmark coordinates (#8063)
  bump react-dom to v16.3.3 to fix minor vulnerability warning
  Fix and refactor the benchmark suite (#8066)
  Add max width for popups (#7906)
  Extrusions: Do not try to triangulate non-polygon type features (#7685)
  docs fixes after the merge
  limit flow max_workers and upgrade to v0.95.1 (#8061)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants