mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-03 04:14:32 +01:00
return to default selection tool after deletion
This commit is contained in:
@@ -291,7 +291,9 @@ export const actionDeleteSelected = register({
|
||||
elements: nextElements,
|
||||
appState: {
|
||||
...nextAppState,
|
||||
activeTool: updateActiveTool(appState, { type: "selection" }),
|
||||
activeTool: updateActiveTool(appState, {
|
||||
type: app.defaultSelectionTool,
|
||||
}),
|
||||
multiElement: null,
|
||||
activeEmbeddable: null,
|
||||
selectedLinearElement: null,
|
||||
|
||||
Reference in New Issue
Block a user