mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +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.
|
||||
const panels = [...stack.children].filter(
|
||||
(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') {
|
||||
for (const panel of panels.filter((item) =>
|
||||
|
||||
Reference in new issue
Block a user