Check only the primary pointing device's accuracy (#929)

pull/931/head
Ethan Yoo 2024-07-11 00:03:33 -04:00 committed by GitHub
parent 3e94389c1e
commit 776206db90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export default function reducer(
},
};
case "page-loaded": {
const mouseDetected = window.matchMedia("(any-pointer:fine)").matches;
const mouseDetected = window.matchMedia("(pointer:fine)").matches;
return {
...state,
isLoading: false,