Virtual whiteboard for sketching hand-drawn like diagrams
use width,height from current appstate when initializing scene (#1882)
Aakansha Doshi01e546c230c0
diff --git a/src/data/localStorage.ts b/src/data/localStorage.tsindex f3ed062886..58a85d6f74 100644--- a/src/data/localStorage.ts+++ b/src/data/localStorage.ts@@ -80,6 +80,8 @@ export const restoreFromLocalStorage = () => {// If we're retrieving from local storage, we should not be collaboratingappState.isCollaborating = false;appState.collaborators = new Map();+ delete appState.width;+ delete appState.height;} catch {// Do nothing because appState is already null}