fix:Poisoned arrow

This commit is contained in:
Mark Tolmacs 2025-09-17 18:56:41 +02:00
parent e0dd29aa36
commit d6e3839d31
No known key found for this signature in database

View File

@ -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)) {