Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't default-show text/icons that depend on the placement of a paired icon/text. #7041

Merged
merged 1 commit into from
Aug 13, 2018

Conversation

ChrisLoer
Copy link
Contributor

@ChrisLoer ChrisLoer commented Jul 27, 2018

Fixes issue #7032.

We could potentially get a little finer grained and check where there was paired icon/text at the per-symbol level instead of the per-bucket level, but it'd be extra work in performance sensitive code and all it would get you is that in a few situations you'd be able to start showing a symbol a little bit earlier.

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores
  • manually test the debug page
  • tagged @mapbox/studio and/or @mapbox/maps-design if this PR includes style spec changes

/cc @ansis @RomainQuidet

Copy link
Contributor

@ansis ansis left a comment

Choose a reason for hiding this comment

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

We could potentially get a little finer grained and check where there was paired icon/text at the per-symbol level instead of the per-bucket level, but it'd be extra work in performance sensitive code and all it would get you is that in a few situations you'd be able to start showing a symbol a little bit earlier.

Your approach seems good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants