diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-08-25 16:27:03 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-08-25 16:27:03 -0400 |
| commit | 0abec8e032a4d1d924cc646bf46d02f8b1009ba9 (patch) | |
| tree | dd4d346c3c9fc82663060899ff82406e22714bcf | |
| parent | 16eee88ad5696e855dbb05993e6a4393ae137bc1 (diff) | |
| download | decky-lsfg-vk-0abec8e032a4d1d924cc646bf46d02f8b1009ba9.tar.gz decky-lsfg-vk-0abec8e032a4d1d924cc646bf46d02f8b1009ba9.zip | |
rm disable logic across hdr and wsi, was causing issues w custom profiles and upgrades
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 0f1f02a..319168b 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> |
