mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Fix selection after delete -> undo
This commit is contained in:
parent
1a916f587f
commit
4619e88b98
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ export const actionDeleteSelected = register({
|
||||||
activeTool: updateActiveTool(appState, { type: "selection" }),
|
activeTool: updateActiveTool(appState, { type: "selection" }),
|
||||||
multiElement: null,
|
multiElement: null,
|
||||||
activeEmbeddable: null,
|
activeEmbeddable: null,
|
||||||
|
selectedLinearElement: null,
|
||||||
},
|
},
|
||||||
captureUpdate: isSomeElementSelected(
|
captureUpdate: isSomeElementSelected(
|
||||||
getNonDeletedElements(elements),
|
getNonDeletedElements(elements),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue