Skip to content

Commit 0e9936a

Browse files
authored
Update index.html
1 parent ccc20c7 commit 0e9936a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/index.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,11 @@
152152
}, false);
153153

154154
canvas.addEventListener("touchmove", function (e) {
155-
findxy('move', e.touches[0])
156-
}, false);
155+
touchHandler, true);
157156
canvas.addEventListener("touchstart", function (e) {
158-
findxy('down', e.touches[0])
159-
}, false);
157+
touchHandler, true);
160158
canvas.addEventListener("touchend", function (e) {
161-
findxy('up', e.touches[0])
162-
}, false);
159+
touchHandler, true);
163160
}
164161

165162
function draw() {

0 commit comments

Comments
 (0)