mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
At 720px and narrower the globe stays full screen and a bottom tab bar (Layers, Cameras, Context, Search, More) opens one bottom sheet at a time, presenting the existing rail and dock panels in place. Sheets borrow panels without persisting or sharing them and put back what they changed. Cockpit, recording and clean view close the sheet; scene playback keeps STOP reachable. Focus moves into the sheet and back to its tab, the required attribution stays visible above the voice control and any sheet, and the page uses safe-area insets. Wider viewports are unchanged. Adapted from the phone tab-shell proposed in #203 by @blearymoth.
12 lines
342 B
JavaScript
12 lines
342 B
JavaScript
/**
|
|
* Body classes that mean "another surface owns the screen": cockpit, scene
|
|
* playback, recording and clean view. First run yields to them and the phone
|
|
* shell closes its sheets for them.
|
|
*/
|
|
export const EXCLUSIVE_SURFACE_CLASSES = Object.freeze([
|
|
'cockpit-mode',
|
|
'scene-playback-mode',
|
|
'recording-mode',
|
|
'ui-clean-view',
|
|
]);
|