Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

Reset to selection after creating a text (#333)

Christopher Chedeauaad6e8f434bc
diff --git a/src/index.tsx b/src/index.tsx
index 7b8f06a3c4..9b6361556a 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -568,6 +568,7 @@ export class App extends React.Component<{}, AppState> {
});
}
});
+ this.setState({ elementType: "selection" });
return;
}