From 8a16c8a196bc6b4a6e262e4375ad5b4dc47b212f Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 20 Nov 2022 21:49:09 +1100 Subject: [PATCH] Crop to Bounding Box > Save Box Region Only --- .../IAICanvasToolbar/IAICanvasSettingsButtonPopover.tsx | 2 +- frontend/src/features/canvas/store/canvasSlice.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/features/canvas/components/IAICanvasToolbar/IAICanvasSettingsButtonPopover.tsx b/frontend/src/features/canvas/components/IAICanvasToolbar/IAICanvasSettingsButtonPopover.tsx index f0e1e196fd..7388e751e7 100644 --- a/frontend/src/features/canvas/components/IAICanvasToolbar/IAICanvasSettingsButtonPopover.tsx +++ b/frontend/src/features/canvas/components/IAICanvasToolbar/IAICanvasSettingsButtonPopover.tsx @@ -103,7 +103,7 @@ const IAICanvasSettingsButtonPopover = () => { onChange={(e) => dispatch(setShouldAutoSave(e.target.checked))} /> dispatch(setShouldCropToBoundingBoxOnSave(e.target.checked)) diff --git a/frontend/src/features/canvas/store/canvasSlice.ts b/frontend/src/features/canvas/store/canvasSlice.ts index c668aa12cf..de7c0b911a 100644 --- a/frontend/src/features/canvas/store/canvasSlice.ts +++ b/frontend/src/features/canvas/store/canvasSlice.ts @@ -64,7 +64,7 @@ const initialCanvasState: CanvasState = { minimumStageScale: 1, pastLayerStates: [], shouldAutoSave: false, - shouldCropToBoundingBoxOnSave: true, + shouldCropToBoundingBoxOnSave: false, shouldDarkenOutsideBoundingBox: false, shouldLockBoundingBox: false, shouldPreserveMaskedArea: false,