Fixes postprocessing not being disabled when clicking use all

This commit is contained in:
psychedelicious 2022-11-23 18:41:43 +11:00 committed by blessedcoolant
parent 344cdf0ade
commit b31f90c0bd

View File

@ -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 {