fix(ui): recut #918 src/ui/rightPanelRail.js on current main

This commit is contained in:
Kevin Rajan committed 2026-10-09 11:14:25 -05:00
1 parent 6cc05a7fcb
commit 21a90b4144
1 file changed
+3 -1
+3 -1
View File
@@ -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) =>