Check only the primary pointing device's accuracy (#929)
parent
3e94389c1e
commit
776206db90
|
@ -19,7 +19,7 @@ export default function reducer(
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
case "page-loaded": {
|
case "page-loaded": {
|
||||||
const mouseDetected = window.matchMedia("(any-pointer:fine)").matches;
|
const mouseDetected = window.matchMedia("(pointer:fine)").matches;
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
|
|
Loading…
Reference in New Issue