Kitchen panel no longer leaks over station scenes

It was born visible — a day starting at a station (prep/juice/grate)
never passes through kitchen.enter()/exit(), so the BROWNING panel sat
over every station HUD. Hidden at construction like every other scene;
verified hidden at bench, shown after handoff, hidden at juice.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
type-two 2026-07-18 15:18:06 +10:00
parent 8f5641a57f
commit 6f74d31469

View File

@ -134,6 +134,9 @@ export class KitchenView implements View {
this.panel = new Panel('toast-panel'); this.panel = new Panel('toast-panel');
this.buildUi(); this.buildUi();
// Hidden until enter() — a day that starts at a station (prep/juice/grate)
// never passes through the kitchen, and a born-visible panel leaks over it.
this.panel.hide();
this.loadBread('white'); this.loadBread('white');
} }