mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add loading state (#1027)
* add loading state * update snapshots * add border radius * fix comment breaking build jsx
This commit is contained in:
parent
d8708cb14f
commit
cac2dda5ac
9 changed files with 214 additions and 85 deletions
|
@ -5,6 +5,7 @@ export const DEFAULT_FONT = "20px Virgil";
|
|||
|
||||
export function getDefaultAppState(): AppState {
|
||||
return {
|
||||
isLoading: false,
|
||||
draggingElement: null,
|
||||
resizingElement: null,
|
||||
multiElement: null,
|
||||
|
@ -47,6 +48,7 @@ export function clearAppStateForLocalStorage(appState: AppState) {
|
|||
isResizing,
|
||||
collaborators,
|
||||
isCollaborating,
|
||||
isLoading,
|
||||
...exportedState
|
||||
} = appState;
|
||||
return exportedState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue