Aakansha Doshi 3 年之前
父节点
当前提交
fde521ef4d
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/element/linearElementEditor.ts

+ 2 - 3
src/element/linearElementEditor.ts

@@ -431,9 +431,8 @@ export class LinearElementEditor {
         );
       }
       if (
-        (!appState.editingLinearElement &&
-          distance >= 2 * LinearElementEditor.POINT_HANDLE_SIZE) ||
-        appState.editingLinearElement
+        appState.editingLinearElement ||
+        distance >= 2 * LinearElementEditor.POINT_HANDLE_SIZE
       ) {
         visiblePointIndexes.push(index);
         previousPoint = point;