Remove binding gap

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs
2025-08-20 21:45:28 +02:00
parent e04e52f1bd
commit 771dfa3b0e
6 changed files with 67 additions and 272 deletions

View File

@@ -465,7 +465,6 @@ export class LinearElementEditor {
? "start"
: "end",
app.scene,
app.state.zoom,
);
}
}
@@ -2001,7 +2000,6 @@ const pointDraggingUpdates = (
newGlobalPointPosition,
elements,
elementsMap,
app.state.zoom,
);
const otherGlobalPoint =
LinearElementEditor.getPointAtIndexGlobalCoordinates(
@@ -2011,12 +2009,7 @@ const pointDraggingUpdates = (
);
const otherPointInsideElement =
!!hoveredElement &&
!!bindingBorderTest(
hoveredElement,
otherGlobalPoint,
elementsMap,
app.state.zoom,
);
!!bindingBorderTest(hoveredElement, otherGlobalPoint, elementsMap);
if (
isBindingEnabled(app.state) &&