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