fix: deselect elements on viewMode toggle (#3741)

This commit is contained in:
David Luzar 2021-06-16 19:01:16 +02:00 committed by GitHub
parent 437afcbea4
commit 5cd921549a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View file

@ -10,7 +10,6 @@ export const actionToggleViewMode = register({
appState: {
...appState,
viewModeEnabled: !this.checked!(appState),
selectedElementIds: {},
},
commitToHistory: false,
};