Procházet zdrojové kódy

check for 2 pointer arrows

Aakansha Doshi před 3 roky
rodič
revize
76910828c2
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/element/linearElementEditor.ts

+ 1 - 0
src/element/linearElementEditor.ts

@@ -432,6 +432,7 @@ export class LinearElementEditor {
       }
       if (
         appState.editingLinearElement ||
+        element.points.length === 2 ||
         distance >= 2 * LinearElementEditor.POINT_HANDLE_SIZE
       ) {
         visiblePointIndexes.push(index);