mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02: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
web/src/lib/components/photos-page
|
@ -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