Explorar o código

check for strict null

zsviczian hai 1 ano
pai
achega
17477480f3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/excalidraw/element/linearElementEditor.ts

+ 1 - 1
packages/excalidraw/element/linearElementEditor.ts

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