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,
|
appState: AppState,
|
||||||
): Partial<AppState> {
|
): Partial<AppState> {
|
||||||
return {
|
return {
|
||||||
|
selectedElementIds: appState.selectedElementIds,
|
||||||
exportBackground: appState.exportBackground,
|
exportBackground: appState.exportBackground,
|
||||||
currentItemStrokeColor: appState.currentItemStrokeColor,
|
currentItemStrokeColor: appState.currentItemStrokeColor,
|
||||||
currentItemBackgroundColor: appState.currentItemBackgroundColor,
|
currentItemBackgroundColor: appState.currentItemBackgroundColor,
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue