Anyone know how I might detect zoom events on a ca...
# compose-desktop
b
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
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
Guess I'll have to access keyboard events through swing 😕
j
Work in progress, as is mouse wheel and right click events. These are all very high priority for us at the moment.
👍 5
c
It would be really nice if those common desktop gestures would be handled automatically by the
.transformable()
modifier
b
Thanks for letting us know @jim 🙂