This commit is contained in:
Aakansha Doshi 2023-08-21 21:09:42 +05:30
parent fec984895e
commit 84059086a6
3 changed files with 4 additions and 2 deletions

View file

@ -4499,7 +4499,8 @@ class App extends React.Component<AppProps, AppState> {
this.createFrameElementOnPointerDown(pointerDownState);
} else if (
this.state.activeTool.type !== "eraser" &&
this.state.activeTool.type !== "hand"
this.state.activeTool.type !== "hand" &&
this.state.activeTool.type !== "mermaid"
) {
this.createGenericElementOnPointerDown(
this.state.activeTool.type,