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

Make zoom via wheel more responsive at the ends of the zoom range. #993

Merged
merged 1 commit into from
May 30, 2019

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Apr 10, 2019

Prior to this, zooming via the wheel until the map was fully zoomed in or zoomed out and then reversing the wheel could have a substantial lag before the zoom would reverse. While some debouncing is fine, this sometimes felt unresponsive. This ignores wheel events once the end of the range is reached rather than adding more time to the transition.

@manthey manthey force-pushed the more-responsive-zoom-wheel branch 2 times, most recently from 85919e1 to 5156d34 Compare April 12, 2019 13:21
Copy link
Member

@aashish24 aashish24 left a comment

Choose a reason for hiding this comment

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

Looks good but did not test.

@manthey manthey force-pushed the more-responsive-zoom-wheel branch from 5156d34 to 534e183 Compare May 29, 2019 18:42
Prior to this, zooming via the wheel until the map was fully zoomed in
or zoomed out and then reversing the wheel could have a substantial lag
before the zoom would reverse.  While some debouncing is fine, this
sometimes felt unresponsive.  This ignores wheel events once the end of
the range is reached rather than adding more time to the transition.
@manthey manthey force-pushed the more-responsive-zoom-wheel branch from 534e183 to 8805e59 Compare May 29, 2019 19:43
@manthey manthey merged commit d9a3495 into master May 30, 2019
@manthey manthey deleted the more-responsive-zoom-wheel branch May 30, 2019 00:54
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.

2 participants