From bbe53841e4deab06c1902a0138e4646a2febb947 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 28 Oct 2022 11:48:13 +1100 Subject: [PATCH] Fixes bounding box move ending when mouse leaves canvas --- frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx b/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx index 14624ae9bb..06481119b1 100644 --- a/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx +++ b/frontend/src/features/tabs/Inpainting/InpaintingCanvas.tsx @@ -189,7 +189,6 @@ const InpaintingCanvas = () => { const handleMouseOutCanvas = useCallback(() => { dispatch(setCursorPosition(null)); - dispatch(setIsMovingBoundingBox(false)); dispatch(setIsDrawing(false)); }, [dispatch]);