Fix song restarting and multiple touches

This commit is contained in:
LoveEevee
2018-10-05 21:12:50 +03:00
parent c8acfc3188
commit c999dca204
2 changed files with 3 additions and 3 deletions

View File

@@ -933,7 +933,7 @@ class View{
}
}
ontouch(event){
for(let touch of event.touches){
for(let touch of event.changedTouches){
event.preventDefault()
var scale = this.canvas.scale
var pageX = touch.pageX * scale