How to go about snapping? #538
Replies: 1 comment 14 replies
-
|
Hey Saif, The snapping function was extended in version 10.2.0. Before that, layers only snapped to the center of the screen on the x and y axes, and if you rotated a layer, it snapped every 45 degrees. Since version 10.2.0, layers also snap when they're aligned on the same x or y axis as another layer. To enable or disable this behavior, you can set the configs like this: configs: ProImageEditorConfigs(
helperLines: HelperLineConfigs(
showLayerAlignLine: false,
style: ...
),
),Right now it doesn't work well when zoomed in, so I’ve disabled it for the time being. Maybe I’ll add it in the future.
Thanks for the feedback! I’ll keep that in mind and add a new parameter to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there!
Users of my app wish to have snapping while being zoomed out, but honestly I have no idea how it works, as it is really an accident for me that it exists at all :) How does it work, snaps to what exactly? could it work while zoomed in? Can it be disabled?
in my own experience, I find it annoying because currently in version 10, it feels like Snapping is resisting too much to my mouse, I have to really force it, but for some reason it is useful for users to place text and such.
What are the general thoughts on snapping and how can it be expanded, customized, or the sensitivity touched?
Beta Was this translation helpful? Give feedback.
All reactions