From d6e3839d31a98ac236829f0e01b9d98a2a4a1154 Mon Sep 17 00:00:00 2001 From: Mark Tolmacs Date: Wed, 17 Sep 2025 18:56:41 +0200 Subject: [PATCH] fix:Poisoned arrow --- packages/element/src/linearElementEditor.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/element/src/linearElementEditor.ts b/packages/element/src/linearElementEditor.ts index 6905497a0..3ff2a49fd 100644 --- a/packages/element/src/linearElementEditor.ts +++ b/packages/element/src/linearElementEditor.ts @@ -345,7 +345,11 @@ export class LinearElementEditor { app, ); - LinearElementEditor.movePoints(element, app.scene, positions, updates); + LinearElementEditor.movePoints(element, app.scene, positions, { + startBinding: updates?.startBinding, + endBinding: updates?.endBinding, + moveMidPointsWithElement: updates?.moveMidPointsWithElement, + }); // Set the suggested binding from the updates if available if (isBindingElement(element, false)) { if (isBindingEnabled(app.state)) { @@ -493,7 +497,11 @@ export class LinearElementEditor { app, ); - LinearElementEditor.movePoints(element, app.scene, positions, updates); + LinearElementEditor.movePoints(element, app.scene, positions, { + startBinding: updates?.startBinding, + endBinding: updates?.endBinding, + moveMidPointsWithElement: updates?.moveMidPointsWithElement, + }); // Set the suggested binding from the updates if available if (isBindingElement(element, false)) {