fix 1:1 ratio (#8127)

Co-authored-by: Mary Hipp <maryhipp@Marys-Air.lan>
This commit is contained in:
Mary Hipp Rogers
2025-06-25 19:39:21 -04:00
committed by GitHub
parent 5128f072a8
commit 979bd33dfb

View File

@@ -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;