How can I use CTRL + wheel to zoom in and out rather than just the wheel, and how can I make the wheel simply drag the screen instead of zooming in and out? #92
-
Hello everyone, I just wanted to modify a few general Canvas behaviors to resemble those found on Miro:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello, Thank you for your interest in Foblex Flow. To achieve the behavior you described, you can create your own custom zoom directive. By writing a custom directive, you’ll be able to: • Override the mouse wheel action to pan the Canvas instead of zooming. • Customize the left mouse click to select components instead of moving the Canvas. • Add logic for the “Space + Left Mouse Click” combination to enable dragging and change the cursor. The library is flexible enough to accommodate these modifications, so most of your requirements can be fulfilled with this approach. |
Beta Was this translation helpful? Give feedback.
Yes, I mean overriding the fDraggable and fZoom directives