pull/3572/head
Taha 2024-04-23 16:14:29 +01:00
rodzic 6f034baaa5
commit 9afae9e3a7
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -20,8 +20,7 @@ export function useCoarsePointer() {
const mql = window.matchMedia('(any-pointer: coarse)')
const handler = (coarse?: boolean) => {
editor.updateInstanceState({ isCoarsePointer: coarse ?? !!mql.matches })```
editor.updateInstanceState({ isCoarsePointer: coarse ?? !!mql.matches })
}
const touchStartHandler = () => handler(true)