Skip to content

Commit

Permalink
fix(gui): disable face correction strength slider when option is not …
Browse files Browse the repository at this point in the history
…selected
  • Loading branch information
ssube committed Jan 17, 2023
1 parent 691aeab commit 7c60621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/components/UpscaleControl.tsx
Expand Up @@ -92,7 +92,7 @@ export function UpscaleControl(props: UpscaleControlProps) {
<NumericField
label='Strength'
decimal
disabled={params.enabled === false && params.faces}
disabled={params.enabled === false && params.faces === false}
min={config.faceStrength.min}
max={config.faceStrength.max}
step={config.faceStrength.step}
Expand Down

0 comments on commit 7c60621

Please sign in to comment.