mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
force to set cursor default
on unmount
This commit is contained in:
parent
de17716109
commit
cbbd822729
@ -50,6 +50,8 @@ const useHideOnMouseStop = ({
|
||||
|
||||
return () => {
|
||||
window.removeEventListener("mousemove", onMouseMove)
|
||||
// set cursor visible
|
||||
document.body.style.cursor = "default"
|
||||
}
|
||||
}, [onMouseMove])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user