mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 18:34:02 +00:00
Add the opt-in Cyber HUD layout with coordinated map and cockpit panel styling, GPU-only contact sonar (rings, range, power, opacity, sector) with native-rendering fallback, and set_cyber_sonar voice controls. Sonar visual style inspired by kk376's tactical naval sonar (#214). Co-authored-by: Sameh Khamis <[email protected]> Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
7 lines
272 B
JavaScript
7 lines
272 B
JavaScript
/** Cyber keeps the frame fixed; other layouts retain their existing scroller. */
|
|
export function displayPanelScroller(panel) {
|
|
return panel?.ownerDocument?.documentElement?.dataset.uiTheme === 'cyber'
|
|
? panel.querySelector('.pp-panel-body') || panel
|
|
: panel;
|
|
}
|