fix(ui): keep the removed Display and layout exports as deprecated shims

Restore shouldHideCollapsedRightPanels, syncScopeControls and the fadeSliders field, skipping sliders already bound by name. Note the API changes in the changelog.
This commit is contained in:
Sameh Khamis committed 2026-10-30 23:56:20 -07:00
1 parent a767b84486
commit c1dd9246eb
5 files changed
+56 -1

No files matched your search

+13
View File
@@ -60,3 +60,16 @@ export function resolveHudRailLayout({
constrained: panelHeight > availableHeight,
};
}
/**
* Whether the Tactical layout hid collapsed right panels beside an expanded
* one. The rail now enforces one open panel per side in every layout; this
* stays exported from `./ui/layout` for hosts that imported it.
* @deprecated
*/
export function shouldHideCollapsedRightPanels({
hudVariant,
hasExpandedPanel,
}) {
return hudVariant === 'tactical' && Boolean(hasExpandedPanel);
}