Restore selectedElements on undelete (#1242)

* Restore selectedElements on undelete

* Update regressionTest snapshots
This commit is contained in:
Shriram Balaji
2020-04-06 00:49:54 +05:30
committed by GitHub
parent 2bfc1c20b6
commit 290244660b
2 changed files with 1842 additions and 1 deletions

View File

@ -66,6 +66,7 @@ export function clearAppStatePropertiesForHistory(
appState: AppState,
): Partial<AppState> {
return {
selectedElementIds: appState.selectedElementIds,
exportBackground: appState.exportBackground,
currentItemStrokeColor: appState.currentItemStrokeColor,
currentItemBackgroundColor: appState.currentItemBackgroundColor,

File diff suppressed because it is too large Load Diff