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

maielo/domain_merge_poc
Márk Tolmács 6 months ago committed by GitHub
parent 54491d13d4
commit 84398a7e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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