mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
7ab0c1aba8
commit
6428b59ccb
18 changed files with 599 additions and 20 deletions
|
@ -58,6 +58,7 @@ export const getDefaultAppState = (): AppState => {
|
|||
selectedGroupIds: {},
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
isLibraryOpen: false,
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -76,6 +77,7 @@ export const clearAppStateForLocalStorage = (appState: AppState) => {
|
|||
errorMessage,
|
||||
showShortcutsDialog,
|
||||
editingLinearElement,
|
||||
isLibraryOpen,
|
||||
...exportedState
|
||||
} = appState;
|
||||
return exportedState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue