summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/ConfigurationSection.tsx12
-rw-r--r--src/components/PluginUpdateChecker.tsx2
-rwxr-xr-xsrc/index.tsx8
3 files changed, 7 insertions, 15 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index 0f1f02a..094cb02 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -109,9 +109,8 @@ export function ConfigurationSection({
<PanelSectionRow>
<ToggleField
label="HDR Mode"
- description={config.enable_wsi ? "Enables HDR mode (only for games that support HDR)" : "Enable WSI in the workarounds menu to unlock HDR toggle"}
+ description="Enables HDR mode (only for games that support HDR)"
checked={config.hdr_mode}
- disabled={!config.enable_wsi}
onChange={(value) => onConfigChange(HDR_MODE, value)}
/>
</PanelSectionRow>
@@ -160,14 +159,7 @@ export function ConfigurationSection({
label="Enable WSI"
description="Re-Enable Gamescope WSI Layer. Requires game restart to apply."
checked={config.enable_wsi}
- disabled={config.hdr_mode}
- onChange={(value) => {
- if (!value && config.hdr_mode) {
- // Turn off HDR when disabling WSI
- onConfigChange(HDR_MODE, false);
- }
- onConfigChange(ENABLE_WSI, value);
- }}
+ onChange={(value) => onConfigChange(ENABLE_WSI, value)}
/>
</PanelSectionRow>
diff --git a/src/components/PluginUpdateChecker.tsx b/src/components/PluginUpdateChecker.tsx
index d427c18..9fa2afb 100644
--- a/src/components/PluginUpdateChecker.tsx
+++ b/src/components/PluginUpdateChecker.tsx
@@ -152,7 +152,7 @@ export const PluginUpdateChecker: React.FC<PluginUpdateCheckerProps> = () => {
<Focusable>
1. Go to Decky Loader settings
<br />2. Click "Developer" tab
- <br />3. Click "Uninstall" next to "Lossless Scaling"
+ <br />3. Click "Uninstall" next to "decky-lsfg-vk"
<br />4. Click "Install from ZIP"
<br />5. Select the downloaded file
<br />6. Restart Steam or reload plugins
diff --git a/src/index.tsx b/src/index.tsx
index 785ecf5..070e853 100755
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -4,13 +4,13 @@ import { GiPlasticDuck } from "react-icons/gi";
import { Content } from "./components";
export default definePlugin(() => {
- console.log("Lossless Scaling plugin initializing");
+ console.log("decky-lsfg-vk plugin initializing");
return {
// The name shown in various decky menus
- name: "Lossless Scaling",
+ name: "decky-lsfg-vk",
// The element displayed at the top of your plugin's menu
- titleView: <div className={staticClasses.Title}>Lossless Scaling</div>,
+ titleView: <div className={staticClasses.Title}>decky-lsfg-vk</div>,
// Always render to retain state when panel is toggled
alwaysRender: true,
// The content of your plugin's menu
@@ -19,7 +19,7 @@ export default definePlugin(() => {
icon: <GiPlasticDuck />,
// The function triggered when your plugin unloads
onDismount() {
- console.log("Lossless Scaling unloading");
+ console.log("decky-lsfg-vk unloading");
}
};
});