diff --git a/src/main.tsx b/src/main.tsx index 50077a23..0e047f86 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -16,6 +16,7 @@ const storageAccess = getBrowserStorageAccess(); const bootstrapResult = loadOrCreateSceneDocument(storageAccess.storage); const editorStore = createEditorStore({ initialDocument: bootstrapResult.document, + initialViewportLayoutState: bootstrapResult.viewportLayoutState ?? undefined, storage: storageAccess.storage }); const initialStatusMessage = [storageAccess.diagnostic, bootstrapResult.diagnostic].filter(Boolean).join(" ") || undefined;