Virtual whiteboard for sketching hand-drawn like diagrams
cancel text via doubleclick when in multiElement mode (#926)
David Luzar95e726bd6fef
diff --git a/src/components/App.tsx b/src/components/App.tsxindex 2305488eaf..c25962dc66 100644--- a/src/components/App.tsx+++ b/src/components/App.tsx@@ -779,6 +779,12 @@ export class App extends React.Component<any, AppState> {private handleCanvasDoubleClick = (event: React.MouseEvent<HTMLCanvasElement>,) => {+ // case: double-clicking with arrow/line tool selected would both create+ // text and enter multiElement mode+ if (this.state.multiElement) {+ return;+ }+resetCursor();const { x, y } = viewportCoordsToSceneCoords(