mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(web): better touch device detection (#17144)
* fix(web): better touch device detection * variable name
This commit is contained in:
parent
c26b28f6a4
commit
6341962de4
4 changed files with 9 additions and 9 deletions
|
|
@ -268,7 +268,7 @@
|
|||
globalThis.removeEventListener('touchmove', onTouchMove);
|
||||
};
|
||||
});
|
||||
const usingMobileDevice = $derived(mobileDevice.hoverNone);
|
||||
const usingMobileDevice = $derived(mobileDevice.pointerCoarse);
|
||||
</script>
|
||||
|
||||
<svelte:window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue