Explorar o código

check for 2 pointer arrows

Aakansha Doshi %!s(int64=3) %!d(string=hai) anos
pai
achega
76910828c2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);