From 979bd33dfbc2919d62e60844c2eed1fe6a7a12fb Mon Sep 17 00:00:00 2001 From: Mary Hipp Rogers Date: Wed, 25 Jun 2025 19:39:21 -0400 Subject: [PATCH] fix 1:1 ratio (#8127) Co-authored-by: Mary Hipp --- .../web/src/features/controlLayers/store/canvasSlice.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts b/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts index 661adcff3b..5fd71f8158 100644 --- a/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts +++ b/invokeai/frontend/web/src/features/controlLayers/store/canvasSlice.ts @@ -1359,8 +1359,8 @@ export const canvasSlice = createSlice({ state.bbox.rect.width = 672; state.bbox.rect.height = 1568; } else if (id === '1:1') { - state.bbox.rect.width = 880; - state.bbox.rect.height = 880; + state.bbox.rect.width = 1024; + state.bbox.rect.height = 1024; } state.bbox.aspectRatio.value = state.bbox.rect.width / state.bbox.rect.height; state.bbox.aspectRatio.isLocked = true;