return to default selection tool after deletion

This commit is contained in:
Ryan Di
2025-07-23 17:09:33 +10:00
parent d29c8e7d32
commit c182115c92

View File

@ -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,