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

Calculate rotation correctly when pointers change order #1

Merged
merged 1 commit into from
May 5, 2020

Conversation

xlf1024
Copy link
Owner

@xlf1024 xlf1024 commented May 5, 2020

Fix hammerjs#791 by always calculating rotation by considering pointers in order of their identifier. This catches edge cases where pointers change order in the array during a gesture.

Fix hammerjs#791 by always calculating rotation by considering pointers in order of their identifier. This catches edge cases where pointers change order in the array during a gesture.
@xlf1024 xlf1024 merged commit b8df465 into xlf1024:master May 5, 2020
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.

Rotation appears to rely on non-standard Touchlist ordering consistency
2 participants