onierstrasz / IMAD

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

Hyperlink creation starts with mouse element in wrong position #43

Closed onierstrasz closed 3 years ago

onierstrasz commented 3 years ago

When creating a new edge (with control drag starting from a node), the mouse element drag line starts in the wrong position and then jumps to the correct mouse position. Probably need to fix: HyperlinkDragHandler>>#dragStartEvent

NB: Making the MouseElement hidden until its position is set does not change anything.

Note that BlLineExamples drags the end elements at their centers rather than at the origin. Need to do the same!

See also issue https://github.com/onierstrasz/IMAD/issues/49