feat: enhance picture notes browsing experience on large screen

This commit is contained in:
codytseng
2025-01-15 16:44:33 +08:00
parent 8e567dd401
commit 4acc1203fe
5 changed files with 57 additions and 13 deletions

3
src/lib/common.ts Normal file
View File

@@ -0,0 +1,3 @@
export function isTouchDevice() {
return 'ontouchstart' in window || navigator.maxTouchPoints > 0
}