From 936f1f03dac00f6ec0185ff077d8f1885855f672 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 11 Jul 2025 18:05:22 -0700 Subject: [PATCH] Add additional fullscreen capabilities --- index.html | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 2de7d21..fbe5b7d 100644 --- a/index.html +++ b/index.html @@ -66,7 +66,6 @@ } /* Both canvas and overlay will share these sizing rules and grid placement */ - #canvas, #loading-gif-overlay { grid-column: 1 / -1; grid-row: 1 / -1; @@ -80,9 +79,13 @@ } #canvas { + display: none !important; + grid-column: 1 / -1; + grid-row: 1 / -1; background-color: #000000; border: none; z-index: 1; /* Canvas is below the loading overlay */ + outline: none; } #loading-gif-overlay { @@ -735,6 +738,40 @@ +
+ +
+
+ + +
+
+ + +
+
+
+
+ +
+
+ + +
+
+ + +
+
+
@@ -1009,7 +1046,6 @@ mainContainer.style.display = 'none'; canvasWrapper.style.display = 'grid'; - emscriptenCanvas.style.display = 'block'; document.documentElement.style.overflow = 'hidden'; document.documentElement.style.overscrollBehavior = 'none'; @@ -1026,6 +1062,7 @@ // Intro animation is ready if (event.detail.objectName == 'Lego_Smk' && event.detail.tickleState == 1) { loadingGifOverlay.style.display = 'none'; + emscriptenCanvas.style.setProperty('display', 'block', 'important'); } else if (progressUpdates < 1003) { progressUpdates++;