check for strict null

zsviczian-fix-8346
zsviczian 6 months ago committed by GitHub
parent f7b3befd0a
commit 17477480f3
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