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

Fix pan/pinch triggering unintentional doubletapzoom #1337

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

CTalvio
Copy link
Collaborator

@CTalvio CTalvio commented Apr 29, 2024

Pull Request Description

This adds a movement check to onPointerUp in order to prevent triggering double tap slide zoom unintentionally.

Issue Being Fixed

Issue Number: #1164

Checklist

  • Did you update CHANGELOG.md?

Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

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

LGTM! This is one of those things that we'll have to try out for a while to make sure it feels good. 😊 Thanks!

@CTalvio
Copy link
Collaborator Author

CTalvio commented Apr 29, 2024

Yup, just a few lines of code but good to have in a nightly first and check if it needs any tuning. I did load this one up on my actual phone to give it a go a seems a huge improvement. Double tap zoom is nicer to use, too.

Copy link
Member

@hjiangsu hjiangsu 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! I haven't tested it out myself but I'll merge it in to get more feedback.

@hjiangsu hjiangsu merged commit 652b08d into thunder-app:develop Apr 30, 2024
1 check passed
@CTalvio CTalvio deleted the fix_pan_zoom branch May 1, 2024 15:55
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