This commit is contained in:
Kyle
2019-08-15 17:13:22 -07:00
parent 2f67be588e
commit 55ce739985
2 changed files with 2 additions and 8 deletions

View File

@@ -357,9 +357,9 @@ function endTouch() {
touchX[i] = event.touches[i].clientX
touchY[i] = event.touches[i].clientY
}
clearTimeout(loop)
clearTimers()
if (event.touches.length < 1) {
clicking = false
clearTimeout(loop)
clearTimers()
}
}