-
I try to use use-gesture/vanilla to zoom an image by pinching using the trackpad only (prevent ctrl + scroll to zoom). Therefore I use PinchGesture.
When I zoom by the trackpad the Ctrl modifier key flag is set to true so I don't know how to detect pinch event using the trackpad. I need some help here. |
Beta Was this translation helpful? Give feedback.
Answered by
dbismut
Jun 15, 2022
Replies: 1 comment
-
The lib is not responsible for setting the control key to true when pinching your trackpad, so unfortunately there's no way to do what you want (and it's not because of this lib). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
myhoai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The lib is not responsible for setting the control key to true when pinching your trackpad, so unfortunately there's no way to do what you want (and it's not because of this lib).