Fix selection after delete -> undo

This commit is contained in:
Mark Tolmacs 2025-03-15 11:16:13 +01:00
parent 1a916f587f
commit 4619e88b98

View file

@ -288,6 +288,7 @@ export const actionDeleteSelected = register({
activeTool: updateActiveTool(appState, { type: "selection" }),
multiElement: null,
activeEmbeddable: null,
selectedLinearElement: null,
},
captureUpdate: isSomeElementSelected(
getNonDeletedElements(elements),