mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 13:21:41 -05:00
Update life.js
This commit is contained in:
@@ -259,6 +259,7 @@ function startTouch() {
|
|||||||
singleTap(event.changedTouches[0].target)
|
singleTap(event.changedTouches[0].target)
|
||||||
}
|
}
|
||||||
function moveTouch() {
|
function moveTouch() {
|
||||||
|
window.scrollTo(0, 0);
|
||||||
touchX = [], touchY = []
|
touchX = [], touchY = []
|
||||||
for (var i = 0; i < event.touches.length; i ++) {
|
for (var i = 0; i < event.touches.length; i ++) {
|
||||||
touchX[i] = event.touches[i].clientX
|
touchX[i] = event.touches[i].clientX
|
||||||
|
Reference in New Issue
Block a user