From fde521ef4d76af27f5297e681bd6546a8de8f7e2 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Wed, 24 Aug 2022 15:58:43 +0530 Subject: [PATCH] fix --- src/element/linearElementEditor.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/element/linearElementEditor.ts b/src/element/linearElementEditor.ts index 900c4a1e9..714d8215c 100644 --- a/src/element/linearElementEditor.ts +++ b/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;