The boot shows nothing, and every screen opens at its top

Two things the phone found. The splash's loading state was applied by main.js —
but this is a module script, so the browser paints the markup, placeholders and
all, before it runs: LEVEL 1 stood there and then snapped to the real values.
The busy class ships in index.html now and main.js only takes it off; the
keyboard hints hide with it.

And #intro is the one scroller the menus share, so a scroll earned deep in the
stats screen outlived it: going back put the splash up scrolled, with its
buttons off screen. go() resets it, at the funnel every stage change passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
wuwiandClaude Fable 5 committed 2026-08-31 13:19:26 +02:00
1 parent 3d9400cd25
commit 380f98f3a3
3 files changed
+34 -3

No files matched your search

+11
View File
@@ -589,6 +589,17 @@ door beside it lost its subject problem: an unqualified `PLAY AGAIN` next to it
"start something", so it names its mode — `GORE AGAIN` / `CLIMB AGAIN` / `CLASSIC AGAIN` /
`TRAIN AGAIN`, derived in the summary from G.classic / G.match.train / G.match.
**THE BOOT STATE SHIPS IN THE MARKUP.** Hiding the plaque behind `#splash.busy` was not enough:
this is a MODULE script, so the browser paints index.html — placeholders and all — before main.js
can add the class, and Oliver kept seeing `LEVEL 1 · LEAGUE 1` snap to the real values. `class="busy"`
is in the HTML now and main.js only ever takes it off. The keyboard-hint strip hides with it
(`body:has(#splash.busy) #hint`), so the loading screen really is court, title and bar.
**EVERY SCREEN OPENS AT ITS TOP.** `#intro` is the one scroller the menus share, so a scroll earned
on the stats screen outlived it — go back and the splash came up scrolled, buttons off screen
(Oliver). `go()` resets `intro.scrollTop`, at the single funnel every stage change already passes
through.
Open for the phone: whether the fixture button should ever go to the setup screen (it does not
now), and whether the promotion's WALK ON should enter the cup instead of the clubhouse.