diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-10-14 23:43:45 -0400 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-10-14 23:43:45 -0400 |
| commit | 739b57e100c313cf12c7c9b77c171c72cfb1a77a (patch) | |
| tree | be234ec18fdcb02f9fa41553d2f43da38f46730f /frontend | |
| parent | 87a7361dc76949325421d9579e1e1813e84dcc1e (diff) | |
| download | decky-loader-739b57e100c313cf12c7c9b77c171c72cfb1a77a.tar.gz decky-loader-739b57e100c313cf12c7c9b77c171c72cfb1a77a.zip | |
add alwaysRender
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/components/PluginView.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/plugin.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/components/PluginView.tsx b/frontend/src/components/PluginView.tsx index 2ae0b555..630cc962 100644 --- a/frontend/src/components/PluginView.tsx +++ b/frontend/src/components/PluginView.tsx @@ -26,7 +26,7 @@ const PluginView: VFC = () => { className={joinClassNames(staticClasses.TabGroupPanel, scrollClasses.ScrollPanel, scrollClasses.ScrollY)} style={{ height: '100%' }} > - {visible && activePlugin.content} + {(visible || activePlugin.alwaysRender) && activePlugin.content} </div> </Focusable> ); diff --git a/frontend/src/plugin.ts b/frontend/src/plugin.ts index 630f9775..37348593 100644 --- a/frontend/src/plugin.ts +++ b/frontend/src/plugin.ts @@ -4,4 +4,5 @@ export interface Plugin { icon: JSX.Element; content?: JSX.Element; onDismount?(): void; + alwaysRender?: boolean; } |
