浏览代码

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);