Virtual whiteboard for sketching hand-drawn like diagrams
fix: line deselected when shift-dragging point outside editor (#5540)
David Luzar4359e2935d1d
diff --git a/src/components/App.tsx b/src/components/App.tsxindex 469768b81b..634f671b92 100644--- a/src/components/App.tsx+++ b/src/components/App.tsx@@ -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