|Moving Shape over Connection [message #1023884]
||Mon, 25 March 2013 11:31
| Dan Simkins
Registered: December 2012
If I drag a shape normally on the canvas, all is well and the shape snaps to grid. If however I drag a shape over a connection such that the mouse cursor is over the connection, the connection is highlighted, the shape is no longer snapped to grid and on release, the shape is drawn offset from the drag drop position.
I have examined the MoveFeature and it appears that targetConnection is set when the cursor is over the connection. In addition, the deltaX and Y have been adjusted.
Ideally I would like to to achieve the following:
1) when the shape is dragged over a connection, do not highlight the connection and the shape remains snapped to grid; and
2) the moved position of the shape should be on-grid at the dropped position and not offset.
Is it possible to disable the selection of the connection when dragging a shape over a connection and if so, would that solve the shape position being offset?
Powered by FUDForum
. Page generated in 0.02392 seconds