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

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, {