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

Clamp fill-extrude-height and fill-extrude-base to min 0 #3463

Merged
merged 2 commits into from
Oct 27, 2016

Conversation

lbud
Copy link
Contributor

@lbud lbud commented Oct 25, 2016

Fixes #3456 by clamping negative fill-extrude-height and fill-extrude-base values to 0. (They already specify minimum=0 in the style spec.)

cc @lucaswoj

@lucaswoj
Copy link
Contributor

Looks good. Wanna add a test case to mapbox-gl-test-suite? 😇

@lbud
Copy link
Contributor Author

lbud commented Oct 26, 2016

Copy link
Contributor

@lucaswoj lucaswoj left a comment

Choose a reason for hiding this comment

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

🎉

@lucaswoj
Copy link
Contributor

Great! test-suite will make sure we keep GL JS and GL Native in sync. Don't forget to update the SHA in package.json after you merge mapbox/mapbox-gl-test-suite#154

@mourner
Copy link
Member

mourner commented Oct 27, 2016

I guess the failed build is because the branch was based on a commit before a corresponding fix for it. Can you rebase?

@lbud lbud force-pushed the 3456-no-negative-extrusions branch from dd616d4 to 872f6e2 Compare October 27, 2016 17:50
@lbud lbud merged commit 52b67c5 into master Oct 27, 2016
@lbud lbud deleted the 3456-no-negative-extrusions branch October 27, 2016 18:23
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