mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
- On a renderer whose plugin does not show its credits in a display of its own (the ownCreditDisplay hook; Cesium's does), the application shows what the credits port lists at the bottom left (#gev-credits): inline credits on the line, the rest, the layers' data credits among them, in the Data attribution list it opens. The button and list are keyboard operable; Escape closes the list and returns focus. Text is set as text; links and logos keep only safe schemes. - The panel, Cockpit and overlay layouts keep clear of it as of Cesium's. - The stub boot check fails when the credits line is not shown or its list is empty; it keeps its report when the run stops early, counts only the dev server's providers and other origins as feeds, and a failed default renderer load is retried without dropping a newer one.
31 lines
900 B
JavaScript
31 lines
900 B
JavaScript
// Solid chrome that card placement should avoid. It composites above the
|
|
// overlay; the host needs no paint mask. Cockpit line art is intentionally
|
|
// excluded so its large bounds cannot suppress world-space content.
|
|
export const WORLD_OVERLAY_OCCLUDER_SELECTORS = Object.freeze([
|
|
'#title-bar',
|
|
'#style-indicator',
|
|
'#top-center-actions',
|
|
'#traffic-sync-chip',
|
|
'#cctv-sync-chip',
|
|
'#left-panel-stack',
|
|
'#right-context-rail',
|
|
'.weather-summary',
|
|
'#pp-toggles',
|
|
'#command-dock',
|
|
'#gev-voice-control',
|
|
'#cesium-credits',
|
|
'#gev-credits',
|
|
'.hud-top-left',
|
|
'.hud-top-right',
|
|
'.hud-bottom-left',
|
|
'.hud-bottom-right',
|
|
'.hud-bottom-bar',
|
|
'#space-mission-panel',
|
|
'#space-mission-panel-host',
|
|
'#military-awareness-panel',
|
|
'#bhote-koshi-event-panel',
|
|
// Only the cockpit's solid windows obstruct readable cards.
|
|
'#cockpit-context',
|
|
'#cockpit-signal-stream',
|
|
]);
|