From cc05aafb95a4315c0932cc3e3fc04d63c7c47c5f Mon Sep 17 00:00:00 2001 From: Matt Walsh Date: Tue, 9 Sep 2025 19:22:18 -0500 Subject: [PATCH] patch for kiosk drawing off screen --- server/scripts/modules/navigation.mjs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/scripts/modules/navigation.mjs b/server/scripts/modules/navigation.mjs index 8a2b5ea..63b2a4f 100644 --- a/server/scripts/modules/navigation.mjs +++ b/server/scripts/modules/navigation.mjs @@ -455,10 +455,9 @@ const resize = (force = false) => { const bottomBar = document.querySelector('#divTwcBottom'); const bottomBarHeight = bottomBar ? bottomBar.offsetHeight : 40; // fallback to ~40px const totalHeight = 480 + bottomBarHeight; - const scaledHeight = totalHeight * scale; // Height after scaling wrapper.style.setProperty('width', `${wrapperWidth}px`); - wrapper.style.setProperty('height', `${scaledHeight}px`); // Use scaled height to eliminate gap + wrapper.style.setProperty('height', `${totalHeight}px`); applyScanlineScaling(scale); return; }