mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-12 16:54:26 +01:00
fix:Poisoned arrow
This commit is contained in:
@@ -345,7 +345,11 @@ export class LinearElementEditor {
|
|||||||
app,
|
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
|
// Set the suggested binding from the updates if available
|
||||||
if (isBindingElement(element, false)) {
|
if (isBindingElement(element, false)) {
|
||||||
if (isBindingEnabled(app.state)) {
|
if (isBindingEnabled(app.state)) {
|
||||||
@@ -493,7 +497,11 @@ export class LinearElementEditor {
|
|||||||
app,
|
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
|
// Set the suggested binding from the updates if available
|
||||||
if (isBindingElement(element, false)) {
|
if (isBindingElement(element, false)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user