check for strict null

This commit is contained in:
zsviczian
2024-08-09 23:21:43 +02:00
committed by GitHub
parent f7b3befd0a
commit 17477480f3

View File

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