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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1842 additions and 1 deletions

View File

@ -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