mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: deselect elements on viewMode toggle (#3741)
This commit is contained in:
parent
437afcbea4
commit
5cd921549a
2 changed files with 10 additions and 9 deletions
|
@ -10,7 +10,6 @@ export const actionToggleViewMode = register({
|
|||
appState: {
|
||||
...appState,
|
||||
viewModeEnabled: !this.checked!(appState),
|
||||
selectedElementIds: {},
|
||||
},
|
||||
commitToHistory: false,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue