From eda8a814483f7d353f746dd7351e11d5386aef0e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 3 Apr 2026 01:36:51 +0200 Subject: [PATCH] Initialize viewport layout state in editor store --- src/main.tsx | 1 + 1 file changed, 1 insertion(+) 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;