Browse Source

fix: Point duplication in LEE on ALT+click (#8347)

Márk Tolmács 1 year ago
parent
commit
84398a7e5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/excalidraw/element/linearElementEditor.ts

+ 1 - 1
packages/excalidraw/element/linearElementEditor.ts

@@ -741,7 +741,7 @@ export class LinearElementEditor {
     }
     if (event.altKey && appState.editingLinearElement) {
       if (
-        linearElementEditor.lastUncommittedPoint == null ||
+        linearElementEditor.lastUncommittedPoint == null &&
         !isElbowArrow(element)
       ) {
         mutateElement(element, {