fix(web): better touch device detection ()

* fix(web): better touch device detection

* variable name
This commit is contained in:
Alex 2025-03-27 10:43:56 -05:00 committed by GitHub
parent c26b28f6a4
commit 6341962de4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 9 deletions
web/src/lib/components/photos-page

View file

@ -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 });