Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix: "hand" tool active after exiting view mode if laser point was used (#10841)

zsvicziancae9d2bcbd3e
diff --git a/packages/excalidraw/components/App.tsx b/packages/excalidraw/components/App.tsx
index 59a11f804c..285421e357 100644
--- a/packages/excalidraw/components/App.tsx
+++ b/packages/excalidraw/components/App.tsx
@@ -4866,7 +4866,7 @@ class App extends React.Component<AppProps, AppState> {
this.state.viewModeEnabled &&
event.key === KEYS.ESCAPE
) {
- this.setActiveTool({ type: "hand" });
+ this.setActiveTool({ type: "selection" });
return;
}