From 51c6b1b461faeab7edd0b5d66a872d3e521ead9f Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Wed, 6 Mar 2019 00:16:46 +0100 Subject: [PATCH] default mouse hidden --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 137a639..b1dea6f 100644 --- a/src/util.ts +++ b/src/util.ts @@ -6,7 +6,7 @@ const getSize = () => { } export const useIsMousePresent = ()=> { - let [present, setPresent] = useState(true) + let [present, setPresent] = useState(false) useEffect(() => { const enter = ()=> setPresent(true)