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

begin touch zoom immediately when rotation disabled #7582

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

msbarry
Copy link
Contributor

@msbarry msbarry commented Nov 11, 2018

Launch Checklist

When touch rotation is disabled, there is a lag between when you start pinching to zoom in or out and when the zoom starts happening. This is because the touch zoom rotate handler has a zoom and rotate threshold to disambiguate between the two cases. This threshold is not needed if rotation is disabled. This makes the pinch to zoom behavior comparable with leaflet. There's still a bit of weirdness due do #7196 but it seems to be an improvement.

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • manually test the debug page

@ryanhamley
Copy link
Contributor

Thanks!

@ryanhamley ryanhamley merged commit d3c7405 into mapbox:master Nov 12, 2018
pirxpilot pushed a commit to pirxpilot/mapbox-gl-js that referenced this pull request Jun 15, 2019
pirxpilot pushed a commit to pirxpilot/mapbox-gl-js that referenced this pull request Jun 16, 2019
pirxpilot pushed a commit to pirxpilot/mapbox-gl-js that referenced this pull request Jun 18, 2019
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.

3 participants