mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
c9d5ec9277
commit
c0dd870c6e
33 changed files with 660 additions and 358 deletions
|
@ -44,6 +44,7 @@ export const loadFromBlob = async (blob: any, appState?: AppState) => {
|
|||
elements = data.elements || [];
|
||||
_appState = {
|
||||
...defaultAppState,
|
||||
appearance: _appState.appearance,
|
||||
...cleanAppStateForExport(data.appState as Partial<AppState>),
|
||||
...(appState ? calculateScrollCenter(elements, appState, null) : {}),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue