feat: enhance picture notes browsing experience on large screen
This commit is contained in:
parent
8e567dd401
commit
4acc1203fe
5 changed files with 57 additions and 13 deletions
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue