update: remove fallback operator

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-23 16:17:20 +01:00
parent 54d5780feb
commit 8d08f67ee6

View File

@@ -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,