diff --git a/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledHeight.tsx b/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledHeight.tsx index 26e3ce8eb6..6d0ac52b2f 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledHeight.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledHeight.tsx @@ -41,7 +41,7 @@ const ParamScaledHeight = () => { const newHeight = Math.floor(v); if (aspectRatio) { - newWidth = roundToMultiple(newHeight * aspectRatio, 8); + newWidth = roundToMultiple(newHeight * aspectRatio, 64); } dispatch( @@ -57,7 +57,7 @@ const ParamScaledHeight = () => { const resetHeight = Math.floor(initial); if (aspectRatio) { - resetWidth = roundToMultiple(resetHeight * aspectRatio, 8); + resetWidth = roundToMultiple(resetHeight * aspectRatio, 64); } dispatch( diff --git a/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledWidth.tsx b/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledWidth.tsx index d869d98c80..71a8615d74 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledWidth.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Parameters/Canvas/InfillAndScaling/ParamScaledWidth.tsx @@ -41,7 +41,7 @@ const ParamScaledWidth = () => { let newHeight = scaledBoundingBoxDimensions.height; if (aspectRatio) { - newHeight = roundToMultiple(newWidth / aspectRatio, 8); + newHeight = roundToMultiple(newWidth / aspectRatio, 64); } dispatch( @@ -57,7 +57,7 @@ const ParamScaledWidth = () => { let resetHeight = scaledBoundingBoxDimensions.height; if (aspectRatio) { - resetHeight = roundToMultiple(resetWidth / aspectRatio, 8); + resetHeight = roundToMultiple(resetWidth / aspectRatio, 64); } dispatch(