From 871b9286d128b1001910e7ca9a7f9298baae634b Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Tue, 5 Sep 2023 14:10:41 +1200 Subject: [PATCH] fix: Review changes --- .../InfillAndScaling/ParamInfillPatchmatchDownscaleSize.tsx | 1 - .../web/src/features/parameters/store/generationSlice.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamInfillPatchmatchDownscaleSize.tsx b/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamInfillPatchmatchDownscaleSize.tsx index d8e9749422..4e1aa0f721 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamInfillPatchmatchDownscaleSize.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamInfillPatchmatchDownscaleSize.tsx @@ -45,7 +45,6 @@ const ParamInfillPatchmatchDownscaleSize = () => { label={t('parameters.patchmatchDownScaleSize')} min={1} max={10} - sliderNumberInputProps={{ max: 10 }} value={infillPatchmatchDownscaleSize} onChange={handleChange} withInput diff --git a/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts b/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts index 7703376e43..50d9894b27 100644 --- a/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts +++ b/invokeai/frontend/web/src/features/parameters/store/generationSlice.ts @@ -92,7 +92,7 @@ export const initialGenerationState: GenerationState = { steps: 50, threshold: 0, infillTileSize: 32, - infillPatchmatchDownscaleSize: 2, + infillPatchmatchDownscaleSize: 1, variationAmount: 0.1, width: 512, shouldUseSymmetry: false,