feat: enhance picture notes browsing experience on large screen
This commit is contained in:
3
src/lib/common.ts
Normal file
3
src/lib/common.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export function isTouchDevice() {
|
||||
return 'ontouchstart' in window || navigator.maxTouchPoints > 0
|
||||
}
|
||||
Reference in New Issue
Block a user