diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-17 23:51:05 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-17 23:51:05 -0400 |
| commit | f74ce82fcebdcb11c190a1652277f8e08d9590f4 (patch) | |
| tree | 31d44cf5f80f2c8b16b229ca0672599f5f02cc1f /src | |
| parent | a921fc8168e13934bdfe6d159aee14ee2651949e (diff) | |
| download | decky-lsfg-vk-f74ce82fcebdcb11c190a1652277f8e08d9590f4.tar.gz decky-lsfg-vk-f74ce82fcebdcb11c190a1652277f8e08d9590f4.zip | |
persist plugin state
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Content.tsx | 4 | ||||
| -rw-r--r-- | src/components/index.ts | 2 | ||||
| -rwxr-xr-x | src/index.tsx | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx index ae64931..b248313 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -7,7 +7,7 @@ import { InstallationButton } from "./InstallationButton"; import { ConfigurationSection } from "./ConfigurationSection"; // import { UsageInstructions } from "./UsageInstructions"; import { WikiButton } from "./WikiButton"; -import { ClipboardButton } from "./ClipboardButton"; +// import { ClipboardButton } from "./ClipboardButton"; import { PluginUpdateChecker } from "./PluginUpdateChecker"; import { ConfigurationData } from "../config/configSchema"; @@ -77,7 +77,7 @@ export function Content() { {/* <UsageInstructions config={config} /> */} <WikiButton /> - <ClipboardButton /> + {/* <ClipboardButton /> */} {/* Plugin Update Checker */} <PluginUpdateChecker /> diff --git a/src/components/index.ts b/src/components/index.ts index ab7a117..ec4c194 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -4,5 +4,5 @@ export { InstallationButton } from "./InstallationButton"; export { ConfigurationSection } from "./ConfigurationSection"; // export { UsageInstructions } from "./UsageInstructions"; export { WikiButton } from "./WikiButton"; -export { ClipboardButton } from "./ClipboardButton"; +// export { ClipboardButton } from "./ClipboardButton"; export { PluginUpdateChecker } from "./PluginUpdateChecker"; diff --git a/src/index.tsx b/src/index.tsx index e8ab56f..785ecf5 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,6 +11,8 @@ export default definePlugin(() => { name: "Lossless Scaling", // The element displayed at the top of your plugin's menu titleView: <div className={staticClasses.Title}>Lossless Scaling</div>, + // Always render to retain state when panel is toggled + alwaysRender: true, // The content of your plugin's menu content: <Content />, // The icon displayed in the plugin list |
