mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fixes disappearing cursor edge case
This commit is contained in:
File diff suppressed because one or more lines are too long
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@ -6,7 +6,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||||
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
|
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
|
||||||
<script type="module" crossorigin src="./assets/index.5735336f.js"></script>
|
<script type="module" crossorigin src="./assets/index.fb948d0a.js"></script>
|
||||||
<link rel="stylesheet" href="./assets/index.bb945c0a.css">
|
<link rel="stylesheet" href="./assets/index.bb945c0a.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -300,6 +300,7 @@ const InpaintingCanvas = () => {
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Layer>
|
</Layer>
|
||||||
|
{shouldShowMask && (
|
||||||
<Layer>
|
<Layer>
|
||||||
{shouldShowBoundingBoxFill && shouldShowBoundingBox && (
|
{shouldShowBoundingBoxFill && shouldShowBoundingBox && (
|
||||||
<InpaintingBoundingBoxPreviewOverlay />
|
<InpaintingBoundingBoxPreviewOverlay />
|
||||||
@ -309,6 +310,7 @@ const InpaintingCanvas = () => {
|
|||||||
<InpaintingCanvasBrushPreviewOutline />
|
<InpaintingCanvasBrushPreviewOutline />
|
||||||
)}
|
)}
|
||||||
</Layer>
|
</Layer>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Stage>
|
</Stage>
|
||||||
|
@ -112,7 +112,7 @@ const InpaintingBoundingBoxPreview = () => {
|
|||||||
() => () => {
|
() => () => {
|
||||||
const container = stageRef.current?.container();
|
const container = stageRef.current?.container();
|
||||||
if (!container) return;
|
if (!container) return;
|
||||||
container.style.cursor = 'none';
|
container.style.cursor = 'unset';
|
||||||
},
|
},
|
||||||
[shouldLockBoundingBox]
|
[shouldLockBoundingBox]
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user