mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-02-18 13:29:36 +01:00
use width,height from current appstate when initializing scene (#1882)
Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
ead58bf2d9
commit
01e546c230
@ -80,6 +80,8 @@ export const restoreFromLocalStorage = () => {
|
||||
// If we're retrieving from local storage, we should not be collaborating
|
||||
appState.isCollaborating = false;
|
||||
appState.collaborators = new Map();
|
||||
delete appState.width;
|
||||
delete appState.height;
|
||||
} catch {
|
||||
// Do nothing because appState is already null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user