Virtual whiteboard for sketching hand-drawn like diagrams
disallow shape selection during creation (#449)
David Luzar0097652b792e
diff --git a/src/index.tsx b/src/index.tsxindex 4d117351ae..e0c597214a 100644--- a/src/index.tsx+++ b/src/index.tsx@@ -299,8 +299,7 @@ export class App extends React.Component<{}, AppState> {!event.shiftKey &&!event.altKey &&!event.metaKey &&- (this.state.draggingElement === null ||- this.state.elementType !== "selection")+ this.state.draggingElement === null) {this.setState({ elementType: findShapeByKey(event.key) });} else if (event[KEYS.META] && event.code === "KeyZ") {