mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-16 18:54:34 +01:00
@@ -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) : {}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user