From 84398a7e5ccb2765d011be48cad74f375f058158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20Tolm=C3=A1cs?= Date: Fri, 9 Aug 2024 12:01:32 +0200 Subject: [PATCH] fix: Point duplication in LEE on ALT+click (#8347) --- packages/excalidraw/element/linearElementEditor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/excalidraw/element/linearElementEditor.ts b/packages/excalidraw/element/linearElementEditor.ts index c071b68f9..c7a7361e4 100644 --- a/packages/excalidraw/element/linearElementEditor.ts +++ b/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, {