From b31f90c0bd64dbd36afdc3a97be2908b4951e40d Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 23 Nov 2022 18:41:43 +1100 Subject: [PATCH] Fixes postprocessing not being disabled when clicking use all --- frontend/src/features/options/store/optionsSlice.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/features/options/store/optionsSlice.ts b/frontend/src/features/options/store/optionsSlice.ts index 63ed8c2c1e..b7a88b90e5 100644 --- a/frontend/src/features/options/store/optionsSlice.ts +++ b/frontend/src/features/options/store/optionsSlice.ts @@ -309,6 +309,9 @@ export const optionsSlice = createSlice({ if (typeof hires_fix === 'boolean') state.hiresFix = hires_fix; if (width) state.width = width; if (height) state.height = height; + + state.shouldRunESRGAN = false; + state.shouldRunFacetool = false; }, resetOptionsState: (state) => { return {