diff --git a/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx b/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx index 1c383bf605..39b16501ed 100644 --- a/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx +++ b/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx @@ -279,12 +279,12 @@ const InpaintingCanvas = () => { /> )} - - + {shouldShowBoundingBoxFill && ( )} + )} diff --git a/frontend/src/features/tabs/Inpainting/components/Cacher.tsx b/frontend/src/features/tabs/Inpainting/components/Cacher.tsx index 65300ac1d6..086f197623 100644 --- a/frontend/src/features/tabs/Inpainting/components/Cacher.tsx +++ b/frontend/src/features/tabs/Inpainting/components/Cacher.tsx @@ -26,6 +26,7 @@ const Cacher = () => { shouldShowCheckboardTransparency, imageToInpaint, shouldShowBrush, + shouldShowBoundingBoxFill, } = useAppSelector((state: RootState) => state.inpainting); useLayoutEffect(() => { @@ -50,6 +51,7 @@ const Cacher = () => { shouldShowCheckboardTransparency, imageToInpaint, shouldShowBrush, + shouldShowBoundingBoxFill, ]); return null;