diff --git a/invokeai/frontend/web/src/features/imageActions/actions.ts b/invokeai/frontend/web/src/features/imageActions/actions.ts index 99497ca928..d432433903 100644 --- a/invokeai/frontend/web/src/features/imageActions/actions.ts +++ b/invokeai/frontend/web/src/features/imageActions/actions.ts @@ -199,7 +199,7 @@ export const newCanvasFromImage = async (arg: { dispatch(bboxChangedFromCanvas({ x: 0, y: 0, width, height })); dispatch(rasterLayerAdded({ overrides, isSelected: true })); if (withInpaintMask) { - dispatch(inpaintMaskAdded({ isSelected: true })); + dispatch(inpaintMaskAdded({ isSelected: true, isBookmarked: true })); } dispatch(canvasClearHistory()); break; @@ -216,7 +216,7 @@ export const newCanvasFromImage = async (arg: { dispatch(bboxChangedFromCanvas({ x: 0, y: 0, width, height })); dispatch(controlLayerAdded({ overrides, isSelected: true })); if (withInpaintMask) { - dispatch(inpaintMaskAdded({ isSelected: true })); + dispatch(inpaintMaskAdded({ isSelected: true, isBookmarked: true })); } dispatch(canvasClearHistory()); break; @@ -232,7 +232,7 @@ export const newCanvasFromImage = async (arg: { dispatch(bboxChangedFromCanvas({ x: 0, y: 0, width, height })); dispatch(inpaintMaskAdded({ overrides, isSelected: true })); if (withInpaintMask) { - dispatch(inpaintMaskAdded({ isSelected: true })); + dispatch(inpaintMaskAdded({ isSelected: true, isBookmarked: true })); } dispatch(canvasClearHistory()); break; @@ -248,7 +248,7 @@ export const newCanvasFromImage = async (arg: { dispatch(bboxChangedFromCanvas({ x: 0, y: 0, width, height })); dispatch(rgAdded({ overrides, isSelected: true })); if (withInpaintMask) { - dispatch(inpaintMaskAdded({ isSelected: true })); + dispatch(inpaintMaskAdded({ isSelected: true, isBookmarked: true })); } dispatch(canvasClearHistory()); break; @@ -259,7 +259,7 @@ export const newCanvasFromImage = async (arg: { dispatch(canvasSessionStarted({ sessionType: 'advanced' })); dispatch(referenceImageAdded({ overrides: { ipAdapter }, isSelected: true })); if (withInpaintMask) { - dispatch(inpaintMaskAdded({ isSelected: true })); + dispatch(inpaintMaskAdded({ isSelected: true, isBookmarked: true })); } dispatch(canvasClearHistory()); break; @@ -271,7 +271,7 @@ export const newCanvasFromImage = async (arg: { dispatch(canvasSessionStarted({ sessionType: 'advanced' })); dispatch(rgAdded({ overrides: { referenceImages }, isSelected: true })); if (withInpaintMask) { - dispatch(inpaintMaskAdded({ isSelected: true })); + dispatch(inpaintMaskAdded({ isSelected: true, isBookmarked: true })); } dispatch(canvasClearHistory()); break;