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

Add recognition double-tap and single-finger-zoom #551

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

comm1x
Copy link

@comm1x comm1x commented Oct 9, 2017

I am already post the same issue in FrescoImageViewer: stfalcon-studio/FrescoImageViewer#65

We need to separate two gestures:

  1. completed double tap: touchDown, touchUp, touchDown, touchUp
  2. single-finger-zoom: touchDown, touchUp, touchDown, drag, touchUp

Like a Google Maps, we do not need to apply autoscale in 2nd case.
I am suggest possible a bit dirty solution: with flag and 50ms delay (50ms like Google Maps).

@comm1x
Copy link
Author

comm1x commented Jul 13, 2018

I've updated PR, please apply it. This is useful feature.

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.

1 participant