소스 검색

check for 2 pointer arrows

Aakansha Doshi 3 년 전
부모
커밋
76910828c2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);