diff --git a/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts b/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts index c3c4958660..805aed3760 100644 --- a/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts +++ b/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts @@ -1045,10 +1045,7 @@ export const canvasSlice = createSlice({ const bboxDims = calculateNewSize(state.bbox.aspectRatio.value, optimalDimension * optimalDimension); state.bbox.rect.width = bboxDims.width; state.bbox.rect.height = bboxDims.height; - - if (state.bbox.scaleMethod === 'auto') { - state.bbox.scaledSize = getScaledBoundingBoxDimensions(bboxDims, optimalDimension); - } + syncScaledSize(state); } }); },