mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Restore selectedElements on undelete (#1242)
* Restore selectedElements on undelete * Update regressionTest snapshots
This commit is contained in:
parent
2bfc1c20b6
commit
290244660b
2 changed files with 1842 additions and 1 deletions
|
@ -66,6 +66,7 @@ export function clearAppStatePropertiesForHistory(
|
|||
appState: AppState,
|
||||
): Partial<AppState> {
|
||||
return {
|
||||
selectedElementIds: appState.selectedElementIds,
|
||||
exportBackground: appState.exportBackground,
|
||||
currentItemStrokeColor: appState.currentItemStrokeColor,
|
||||
currentItemBackgroundColor: appState.currentItemBackgroundColor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue