mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 07:42:23 +00:00
Keep only what cockpit Display lacks in the Visual panel
In cockpit, the Visual panel hides the HUD, detection, parameters and 3D-model groups, which the cockpit's Display panel already offers, and the celestial ring toggle. It keeps Look, Map source, Scope, Bloom and Sharpen. Co-authored-by: Sameh Khamis <[email protected]>
This commit is contained in:
1 parent
fd1f516192
commit
5b3be915c8
1 file changed
+16
@@ -159,6 +159,22 @@ body.cockpit-mode
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
/* In cockpit, Visual keeps only what the cockpit's own Display panel does
|
||||
not already offer: the HUD, detection, parameters and 3D-model groups live
|
||||
there (its portal moves them while it shows; hidden here otherwise, so they
|
||||
never appear twice), and the celestial ring has no place in first person. */
|
||||
body.cockpit-mode
|
||||
#pp-toggles
|
||||
:is(
|
||||
.pp-toggle-group:has(#hud-toggle),
|
||||
.pp-toggle-group:has(#detection-toggle),
|
||||
.pp-toggle-group:has(#models3d-toggle),
|
||||
.pp-toggle-group:has(#celestial-toggle),
|
||||
#param-slider-panel
|
||||
) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Authoring or Utilities may still be open underneath; its hidden icon must
|
||||
not split the rail into islands. */
|
||||
body.cockpit-mode
|
||||
|
||||
Reference in new issue
Block a user