-
Notifications
You must be signed in to change notification settings - Fork 107
Meaning of snapDist #130
Comments
I am getting this weird behaviour on snap drag settings. |
If you make the values the same the objects will always snap. If you make Both sides of the object snap. In your case it's trying to snap both the left and right size simultaneously. A larger You can play around with some of the presets on the demo: |
Hi @ElbertF thanks for the clarification. I noticed that after initial scaling by dragging one of the bBoxCorners or initial rotation through x-y axis handles makes the behaviour perfect. Is there anything else I could be missing here? Can you please try tweaking the values and tell me the one that works? (I tried 80 and 20 from your example page, but that didn't work). Also, if there a way of overriding the snap behaviour and snap only top and left edges? Or better the 'leading' edge to the direction of drag. |
I tried to disable snapping for bottom and right edges. An example where I programmatically apply scale transform before setting options works fine http://jsfiddle.net/arunkjn/8Fdwg/1/ |
Hi @ElbertF . Just wondering if you had a chance to look at it. |
Hey @ElbertF sorry for poking you again, but I am kind of stuck here. Do you have any suggestions? |
I cannot understand the use of snapDist setting and how it differs from snap setting.
Please elaborate.
The text was updated successfully, but these errors were encountered: