mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
In standard screen mode Tab hid every slot and panel, so the window lost its menu bar, its status bar and its document tabs. That hiding belongs to the body-only state machine; the editor's chrome bars deserve their own. Reveal grows a chrome state, toggled by Panels in standard mode: the options bar and the rails built by options_bar/top/bottom/start/end hide and reveal like body-only slots (edge reveal and the pin keep working), while the title and status slots stay shown and the window does not become body-only. The pass carries the state to the body through ShellCx::chrome_hidden, so the dock machinery hides the panel docks, their toolbar and the floating windows with them and the document tabs stay. Full Screen Mode With Menu Bar and Full Screen keep the old state. A screen-mode change and ShowPanels clear it. Part of storytold/photocraft#16841.