SongSelect: Add ura difficulty

This commit is contained in:
LoveEevee
2018-10-12 21:04:28 +03:00
parent 6ccdc18ec6
commit f80565f25b
17 changed files with 141 additions and 70 deletions

View File

@@ -6,6 +6,10 @@ class Loader{
this.canvasTest = new CanvasTest()
p2 = new P2Connection()
this.ajax("src/views/loader.html").then(this.run.bind(this))
pageEvents.add(root, ["touchstart", "touchmove", "touchend"], event => {
event.preventDefault()
})
}
run(page){
this.promises = []
@@ -152,5 +156,6 @@ class Loader{
delete this.loaderPercentage
delete this.loaderProgress
delete this.promises
pageEvents.remove(root, "touchstart")
}
}