diff --git a/src/settings.svelte b/src/settings.svelte index 44f413f..ceec062 100644 --- a/src/settings.svelte +++ b/src/settings.svelte @@ -48,6 +48,12 @@ Configs.get('winevd').then((settings) => winevdSettings = settings as object); + const WineVDBox = (value: boolean) => { + winevdSettings['enabled'] = value; + if (value) + Configs.set('fsr', false); + } + const handleWineVD = (field: 'height' | 'width', value: string) => { winevdSettings[field] = parseInt(value); @@ -326,7 +332,7 @@ winevdSettings['enabled'] = value} + valueChanged={(value) => WineVDBox(value)} /> @@ -343,6 +349,7 @@ lang="settings.enhancements.items.fsr.title" tooltip="settings.enhancements.items.fsr.tooltip" prop="fsr" + disabled={winevdSettings['enabled']} />