mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
fix(cockpit): keep the phone Display/Radio row clear of the DEST cue
Above the compass block the centred row covered the DEST route-direction label and chevron at 320-390 px, and its fixed +182px offset pushed it off the top of short landscape screens. Place it between the roll scale and the reticle from a viewport-aware visor inset instead, keep it on screen below the vision controls on short landscape phones, and centre Cyber's expanded panel on the Reset/Exit axis. The unit test now asserts the pointer-events contract and Cyber centring; the browser QA adds the DEST cue to the clearance check, hit-tests each launcher glyph and covers 740x360 and 667x240.
This commit is contained in:
1 parent
1165286c7b
commit
4b8a407ba2
6 files changed
+87
-43
No files matched your search
@@ -3256,13 +3256,15 @@ down | auth-failed` (plus the unchanged `missing-key`/`unsupported`) with
|
||||
> viewports suppress the legacy layer stack, peripheral HUD, and secondary
|
||||
> Context/briefing panes so the flight instruments and primary controls remain
|
||||
> unobstructed. There the collapsed Display and Radio launchers form one row
|
||||
> centred on the Reset/Exit axis; the default theme anchors it above the
|
||||
> compass block, clear of the ground speed and altitude telemetry it used to
|
||||
> cover, while Cyber keeps the row at the top. `scripts/qa-cockpit-utility.mjs`
|
||||
> checks the default row's centring and clearance at 390 and 360 px. Outside
|
||||
> Cockpit, Radio starts collapsed while off and lives
|
||||
> only in its section inside Context; the detailed panel's normal accordion
|
||||
> control owns its disclosure and its Enable/Disable action owns power.
|
||||
> centred on the Reset/Exit axis. The default theme places it between the roll
|
||||
> scale and the reticle, clear of the destination cue and flight readouts.
|
||||
> On short landscape screens it stays on screen below the vision controls.
|
||||
> Cyber keeps the row at the top. `scripts/qa-cockpit-utility.mjs` checks the
|
||||
> default row's centring, clearance and tap targets at 390×844, 360×740,
|
||||
> 740×360 and 667×240. Outside Cockpit, Radio starts collapsed while off
|
||||
> and lives only in its section inside Context; the detailed panel's normal
|
||||
> accordion control owns its disclosure and its Enable/Disable action
|
||||
> owns power.
|
||||
> Radio volume in the full and Cockpit surfaces, plus Space Mission
|
||||
> replay speed, use Display / Sharpen's muted 3px rail, circular cyan thumb,
|
||||
> glow, and mono value treatment. Their larger transparent hit areas, keyboard
|
||||
|
||||
Reference in new issue
Block a user