VSCode Integration - Vertical and Horizontal Scrolling #1447
Replies: 1 comment
-
Hi @jmenzies12! Please excuse the late reply around the holidays. Yes, if you are using the viewport module which is added by default, it binds the ZoomListener that zooms in when using the mouse wheel. By pressing ALT you can switch to a panning mode for moving up and down. If you want to change that, you'd need to rebind the ZoomMouseListener and add your own custom behavior. As for the shifting of the canvas when dragging a node to the edge, that is indeed not implemented. However, we have that behavior when moving an element through the arrow keys, see the MoveElementHandler. I think something like that could be integrated into the move tool when dragging. As before you need to rebind the respective listener to adapt the behavior here. I hope this helps you with what you are trying to achieve. |
Beta Was this translation helpful? Give feedback.
-
Hey there,
I noticed in the VSCode Integration, that scrolling the mouse wheel (or relevant trackpad function) zooms out instead of scrolling the canvas vertically. Also, dragging a node to the edge of the canvas doesn't scroll the canvas.
Is this intended behavior? And would it be possible for us to override it?
Kind Regards
Jonathan
Beta Was this translation helpful? Give feedback.
All reactions