From 65b4af9831d507dd23cc9f4c96aca33c2b601c67 Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sun, 22 Feb 2026 14:38:14 -0500 Subject: [PATCH] Hide mobile bottom bar when drawer panels are open Co-Authored-By: Claude Opus 4.6 --- client/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/app.js b/client/app.js index b302c13..c67f899 100644 --- a/client/app.js +++ b/client/app.js @@ -129,6 +129,7 @@ class GolfGame { panel.classList.add('drawer-open'); btn.classList.add('active'); if (backdrop) backdrop.classList.add('visible'); + if (bottomBar) bottomBar.classList.add('hidden'); } }); } @@ -142,6 +143,8 @@ class GolfGame { document.querySelectorAll('.mobile-bar-btn.active').forEach(b => b.classList.remove('active')); const backdrop = document.getElementById('drawer-backdrop'); if (backdrop) backdrop.classList.remove('visible'); + const bottomBar = document.getElementById('mobile-bottom-bar'); + if (bottomBar) bottomBar.classList.remove('hidden'); } initAudio() {