Skip to content

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

Open
comm1x wants to merge 2 commits intoBaseflow:masterfrom
comm1x:doubletap
Open

Add recognition double-tap and single-finger-zoom#551
comm1x wants to merge 2 commits intoBaseflow:masterfrom
comm1x:doubletap

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