@vectoriox/iox-builder 1.7.1 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1889,6 +1889,10 @@ class MoveableCanvasService {
|
|
|
1889
1889
|
this.sourceId = this.resolveDropzoneId(element);
|
|
1890
1890
|
this.ensureMoveable();
|
|
1891
1891
|
this.moveable.target = element;
|
|
1892
|
+
// Drag is initiated by grabbing the ELEMENT itself (like interact.js) — not a Moveable
|
|
1893
|
+
// overlay area — so a plain click still passes through to selection/child-selection and only
|
|
1894
|
+
// a movement past the threshold starts a drag. Keeps Moveable visually silent (no hit-area box).
|
|
1895
|
+
this.moveable.dragTarget = element;
|
|
1892
1896
|
this.moveable.updateRect();
|
|
1893
1897
|
}
|
|
1894
1898
|
/** Recompute the control-box position (call on scroll/zoom/layout changes). */
|