Archived
2
0
This commit is contained in:
Miroslav Šedivý 2023-03-27 21:47:41 +02:00
parent aee7650d47
commit df634be1c5

View File

@ -690,11 +690,11 @@
}, 100) }, 100)
} }
} }
onTouchHandler(event: TouchEvent) {
let touches = event.changedTouches onTouchHandler(e: TouchEvent) {
let first = touches[0] let first = e.changedTouches[0]
let type = '' let type = ''
switch (event.type) { switch (e.type) {
case 'touchstart': case 'touchstart':
type = 'mousedown' type = 'mousedown'
break break