Browse Source

check for 2 pointer arrows

Aakansha Doshi 3 years ago
parent
commit
76910828c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/element/linearElementEditor.ts

+ 1 - 0
src/element/linearElementEditor.ts

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