From 4e313c4a7951b6dcf5565f09c9ad59b4afc1b66f Mon Sep 17 00:00:00 2001 From: Kartios Date: Tue, 11 Aug 2026 18:31:57 -0700 Subject: [PATCH] Keep route controls on the California board --- index.html | 2 +- src/main.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 2517d2d..53f8014 100644 --- a/index.html +++ b/index.html @@ -918,7 +918,7 @@
19 chapters - choose 2 or 3 to follow + choose 2 or 3 to follow [ ] city O office M plan diff --git a/src/main.ts b/src/main.ts index fb0b5f5..8be0a9e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1337,6 +1337,7 @@ const helpButton = document.querySelector("#help"); const planToggle = document.querySelector("#plan-toggle"); const credits = document.querySelector("#credits"); const driveControls = document.querySelector("#drive-controls"); +const driveHint = document.querySelector("#drive-hint"); function showDetail(text: string | null) { const card = document.querySelector("#detail"); @@ -1483,6 +1484,7 @@ function renderLegend() { officePlan?.setActiveView(office?.current() ?? null); renderOfficeBadge(); if (driveControls) driveControls.hidden = !routeDriveIsActive(); + if (driveHint) driveHint.hidden = inside || cityId !== "california"; } /**