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
8d8f93fd00
commit
9406b95518
@ -279,12 +279,12 @@ const InpaintingCanvas = () => {
|
||||
/>
|
||||
)}
|
||||
</Layer>
|
||||
<Layer name={'preview-layer'}>
|
||||
<InpaintingCanvasBrushPreviewOutline />
|
||||
<Layer>
|
||||
{shouldShowBoundingBoxFill && (
|
||||
<InpaintingBoundingBoxPreviewOverlay />
|
||||
)}
|
||||
<InpaintingBoundingBoxPreview />
|
||||
<InpaintingCanvasBrushPreviewOutline />
|
||||
</Layer>
|
||||
</>
|
||||
)}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user