onierstrasz / IMAD

experiments using Gt and Mondrian to build executable domain models
MIT License
3 stars 1 forks source link

Dragging nodes positions origin at mouse position instead of current drag point #42

Closed onierstrasz closed 3 years ago

onierstrasz commented 3 years ago

When dragging a node, it jumps to position the origin of the node element to the mouse location, instead of keeping the current drag point at the mouse location. HypernodePullHandler>>#dragEndEvent: needs to be corrected to adjust the reposition point by the offset of the mouse location within the element.

onierstrasz commented 3 years ago

The final position should be self element constraints position.