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

This commit is contained in:
Márk Tolmács 2024-08-09 12:01:32 +02:00 committed by GitHub
parent 54491d13d4
commit 84398a7e5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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