mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes missing border on brush
This commit is contained in:
parent
07e21acab5
commit
47106eeeea
@ -279,12 +279,12 @@ const InpaintingCanvas = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Layer>
|
</Layer>
|
||||||
<Layer name={'preview-layer'}>
|
<Layer>
|
||||||
<InpaintingCanvasBrushPreviewOutline />
|
|
||||||
{shouldShowBoundingBoxFill && (
|
{shouldShowBoundingBoxFill && (
|
||||||
<InpaintingBoundingBoxPreviewOverlay />
|
<InpaintingBoundingBoxPreviewOverlay />
|
||||||
)}
|
)}
|
||||||
<InpaintingBoundingBoxPreview />
|
<InpaintingBoundingBoxPreview />
|
||||||
|
<InpaintingCanvasBrushPreviewOutline />
|
||||||
</Layer>
|
</Layer>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
@ -26,6 +26,7 @@ const Cacher = () => {
|
|||||||
shouldShowCheckboardTransparency,
|
shouldShowCheckboardTransparency,
|
||||||
imageToInpaint,
|
imageToInpaint,
|
||||||
shouldShowBrush,
|
shouldShowBrush,
|
||||||
|
shouldShowBoundingBoxFill,
|
||||||
} = useAppSelector((state: RootState) => state.inpainting);
|
} = useAppSelector((state: RootState) => state.inpainting);
|
||||||
|
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
@ -50,6 +51,7 @@ const Cacher = () => {
|
|||||||
shouldShowCheckboardTransparency,
|
shouldShowCheckboardTransparency,
|
||||||
imageToInpaint,
|
imageToInpaint,
|
||||||
shouldShowBrush,
|
shouldShowBrush,
|
||||||
|
shouldShowBoundingBoxFill,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user