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

Update toolbar inner border radius #5361

Merged
merged 1 commit into from
Feb 27, 2017

Conversation

newmanw
Copy link
Contributor

@newmanw newmanw commented Feb 25, 2017

Flatten toolbar inner border radius to match grey outline. fixes #5360

@perliedman
Copy link
Member

Hi and thanks for contributing this fix!

A question: from the screenshots in #5360, it looked like you tested this with a touch enabled device (controls have a somewhat thick border rather than a box shadow). Did you try this fix also without touch support (you can do this by manually setting L.Browser.touch before instantiating the map)?

Flatten toolbar inner border radius to match grey outline on touch devices (L.Browser.touch = true).  fixes Leaflet#5360
@newmanw
Copy link
Contributor Author

newmanw commented Feb 27, 2017

@perliedman thanks for looking at this, you are absolutely correct, sorry about that. Non touch devices look great, I updated the pull request to modify the border radius on touch devices only. Please take a look and let me know if the new changes make more sense.

Thanks!

@perliedman
Copy link
Member

👍 Looks good, thanks!

@perliedman perliedman merged commit 364bc77 into Leaflet:master Feb 27, 2017
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.

Toolbar item border radius is too big
3 participants