Răsfoiți Sursa

check for strict null

zsviczian 11 luni în urmă
părinte
comite
17477480f3
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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, {