fix: line deselected when shift-dragging point outside editor (#5540)

This commit is contained in:
David Luzar
2022-08-05 00:01:56 +05:30
committed by GitHub
parent 3d9d398378
commit 4359e2935d
+2 -1
View File
@@ -4838,7 +4838,8 @@ class App extends React.Component<AppProps, AppState> {
...idsOfSelectedElementsThatAreInGroups,
},
}));
} else {
// if not gragging a linear element point (outside editor)
} else if (!this.state.selectedLinearElement?.isDragging) {
// remove element from selection while
// keeping prev elements selected