Anyone know how I might detect zoom events on a canvas? I'd like to be able to hold the control/command key and scroll the mouse wheel to zoom in/out, but I cannot seem to find a way to detect scroll events and check if the appropriate key is down at the same time. detectTransformGestures nevet produces a zoom value beyond 1.0.
z
Zach Klippenstein (he/him) [MOD]
04/27/2021, 4:25 AM
I think that keyboard-modified pointer events are either a WIP or landed but not released yet – so might not be possible until the next release? I could be wrong though.
b
Brendan Campbell-hartzell
04/27/2021, 4:32 AM
Guess I'll have to access keyboard events through swing 😕
j
jim
04/27/2021, 5:33 AM
Work in progress, as is mouse wheel and right click events. These are all very high priority for us at the moment.
👍 5
c
Casey Brooks
04/27/2021, 2:43 PM
It would be really nice if those common desktop gestures would be handled automatically by the