Unexpected double dragging behaviour when working on diagrams
Thera are two ways to reproduce the problem:
-
Drag a connection line from a position that is very close to a component. After the drag is finished another drag operation is erroneously activated for the component that was originally nearby.
-
Drag an element from a position that is close to a connection line. Move mouse quickly to another position. First the connection line is moved to that position. Then another drag operation is activated for the element that was originally the drag target.
This problem is caused by double triggering of MouseDragBegin event by MouseUtil and NodeEventHandler (DragGestureListener).