-
Notifications
You must be signed in to change notification settings - Fork 296
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
multi finger pan #41
Comments
Has 2 finger pan been implemented yet? that would be such an awesome thing to have, since one finger pan really intervenes with normal scrolling! |
@CharlieSavve look at the list of PRs. I added one whoch implements two finger pan |
Saw it, thank you for your great work! But it hasn't been merged yet right? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the library either pans if there's a single-finger touch, or zooms when there's a 2 finger touch.
Looking at how most native pan/zoom applications (e.g. google maps) work, then you can see that usually these actions are not mutually exclusive. E.g. you can pan while zooming, where you'd pan the average vector of both fingers. This not only feels more natural, but together with #40 it would also open new use cases of for example having drag drop inside a panzoom region (drag drop handled by single-finger touches and panzoom by two-finger touches).
I could make a PR for this if you'd agree with this.
The text was updated successfully, but these errors were encountered: