diff options
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | src/components/ConfigurationSection.tsx | 18 |
2 files changed, 17 insertions, 3 deletions
diff --git a/package.json b/package.json index 41fe911..a3e526d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "decky-lossless-scaling-vk", - "version": "0.6.15", + "version": "0.6.16", "description": "Use Lossless Scaling on the Steam Deck using the lsfg-vk vulkan layer", "type": "module", "scripts": { diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx index 55a27d2..135d8fb 100644 --- a/src/components/ConfigurationSection.tsx +++ b/src/components/ConfigurationSection.tsx @@ -167,7 +167,14 @@ export function ConfigurationSection({ label="Disable vkBasalt" description="Disables vkBasalt layer which can conflict with LSFG (Reshade, some Decky plugins)" checked={config.disable_vkbasalt} - onChange={(value) => onConfigChange(DISABLE_VKBASALT, value)} + disabled={config.force_enable_vkbasalt} + onChange={(value) => { + if (value && config.force_enable_vkbasalt) { + // Turn off force enable when enabling disable + onConfigChange(FORCE_ENABLE_VKBASALT, false); + } + onConfigChange(DISABLE_VKBASALT, value); + }} /> </PanelSectionRow> @@ -176,7 +183,14 @@ export function ConfigurationSection({ label="Force Enable vkBasalt" description="Force vkBasalt to engage to fix framepacing issues in gamemode" checked={config.force_enable_vkbasalt} - onChange={(value) => onConfigChange(FORCE_ENABLE_VKBASALT, value)} + disabled={config.disable_vkbasalt} + onChange={(value) => { + if (value && config.disable_vkbasalt) { + // Turn off disable when enabling force enable + onConfigChange(DISABLE_VKBASALT, false); + } + onConfigChange(FORCE_ENABLE_VKBASALT, value); + }} /> </PanelSectionRow> |
