From 8d08f67ee64423ff9e8280e7b0e8ea35fb22bb98 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 23 Nov 2021 16:17:20 +0100 Subject: [PATCH] update: remove fallback operator Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- src/store/stateStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/stateStore.ts b/src/store/stateStore.ts index b30a739b..a8c6693c 100644 --- a/src/store/stateStore.ts +++ b/src/store/stateStore.ts @@ -184,8 +184,8 @@ export default (id: string, preloadedState: FlowState) => { } }, updateUserSelection(mousePos) { - const startX = this.userSelectionRect.startX || 0 - const startY = this.userSelectionRect.startY || 0 + const startX = this.userSelectionRect.startX + const startY = this.userSelectionRect.startY const nextUserSelectRect: FlowState['userSelectionRect'] = { ...this.userSelectionRect,