Browse Source

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

maielo/domain_merge_poc
Márk Tolmács 1 year ago committed by GitHub
parent
commit
84398a7e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/excalidraw/element/linearElementEditor.ts

2
packages/excalidraw/element/linearElementEditor.ts

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

Loading…
Cancel
Save