mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 17:12:01 +00:00
add alwaysRender
This commit is contained in:
@@ -26,7 +26,7 @@ const PluginView: VFC = () => {
|
|||||||
className={joinClassNames(staticClasses.TabGroupPanel, scrollClasses.ScrollPanel, scrollClasses.ScrollY)}
|
className={joinClassNames(staticClasses.TabGroupPanel, scrollClasses.ScrollPanel, scrollClasses.ScrollY)}
|
||||||
style={{ height: '100%' }}
|
style={{ height: '100%' }}
|
||||||
>
|
>
|
||||||
{visible && activePlugin.content}
|
{(visible || activePlugin.alwaysRender) && activePlugin.content}
|
||||||
</div>
|
</div>
|
||||||
</Focusable>
|
</Focusable>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -4,4 +4,5 @@ export interface Plugin {
|
|||||||
icon: JSX.Element;
|
icon: JSX.Element;
|
||||||
content?: JSX.Element;
|
content?: JSX.Element;
|
||||||
onDismount?(): void;
|
onDismount?(): void;
|
||||||
|
alwaysRender?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user