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;