Forráskód Böngészése

check for strict null

zsviczian 1 éve
szülő
commit
17477480f3

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

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