Fixes "use all" not setting variationAmount

Now sets to 0 when the image had variations.
This commit is contained in:
psychedelicious 2022-11-13 22:50:41 +11:00 committed by blessedcoolant
parent 179656d541
commit 5d484273ed

View File

@ -273,6 +273,7 @@ export const optionsSlice = createSlice({
if (variations && variations.length > 0) {
state.seedWeights = seedWeightsToString(variations);
state.shouldGenerateVariations = true;
state.variationAmount = 0;
} else {
state.shouldGenerateVariations = false;
}