From 42ebf6a763e931aa11c1078d8e8336dc48d11451 Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 18 Sep 2026 00:38:04 +0000 Subject: [PATCH] Reduce helm knob size and travel --- src/mobile-hud.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mobile-hud.js b/src/mobile-hud.js index 8e68c94..116632b 100644 --- a/src/mobile-hud.js +++ b/src/mobile-hud.js @@ -177,7 +177,7 @@ if (!isDesktopPointer.matches) { position: absolute; left: 50%; top: 46%; - width: 32%; + width: 24%; height: auto; object-fit: contain; transform: translate(-50%, -50%); @@ -501,7 +501,7 @@ if (!isDesktopPointer.matches) { const radarContacts = radarPiece.querySelector('#steam-radar-contacts'); const setHelmKnob = (x = 0, y = 0) => { - const maxOffset = Math.min(radarPiece.clientWidth * 0.20, 32); + const maxOffset = Math.min(radarPiece.clientWidth * 0.18, 28); const px = Math.max(-1, Math.min(1, x)) * maxOffset; const py = Math.max(-1, Math.min(1, y)) * maxOffset; helmKnob.style.transform = `translate(-50%, -50%) translate(${px}px, ${py}px)`;