mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 19:34:01 +00:00
fix(ui): recut #918 src/ui/rightPanelRail.js on current main
This commit is contained in:
1 parent
6cc05a7fcb
commit
21a90b4144
1 file changed
+3
-1
@@ -72,7 +72,9 @@ export function layoutRightPanelRail({
|
|||||||
// A floating (lifted-out) panel is not laid out by the rail.
|
// A floating (lifted-out) panel is not laid out by the rail.
|
||||||
const panels = [...stack.children].filter(
|
const panels = [...stack.children].filter(
|
||||||
(panel) =>
|
(panel) =>
|
||||||
panel.matches('[data-panel-id]:not(.panel-floating)') && !panel.hidden,
|
panel.matches('[data-panel-id]:not(.panel-floating)') &&
|
||||||
|
!panel.hidden &&
|
||||||
|
getComputedStyle(panel).display !== 'none',
|
||||||
);
|
);
|
||||||
if (!hud.visible || hud.variant !== 'tactical') {
|
if (!hud.visible || hud.variant !== 'tactical') {
|
||||||
for (const panel of panels.filter((item) =>
|
for (const panel of panels.filter((item) =>
|
||||||
|
|||||||
Reference in new issue
Block a user