mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +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
|
|
@ -83,7 +83,7 @@
|
|||
let bottomSectionHeight = 60;
|
||||
let leadout = $state(false);
|
||||
|
||||
const usingMobileDevice = $derived(mobileDevice.hoverNone);
|
||||
const usingMobileDevice = $derived(mobileDevice.pointerCoarse);
|
||||
|
||||
const scrollTo = (top: number) => {
|
||||
element?.scrollTo({ top });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue