Fixes bounding box move ending when mouse leaves canvas

This commit is contained in:
psychedelicious 2022-10-28 11:48:13 +11:00
parent a825210bd3
commit bbe53841e4

View File

@ -189,7 +189,6 @@ const InpaintingCanvas = () => {
const handleMouseOutCanvas = useCallback(() => {
dispatch(setCursorPosition(null));
dispatch(setIsMovingBoundingBox(false));
dispatch(setIsDrawing(false));
}, [dispatch]);