Change drum to match Switch, add fullscreen to songsel, fix tutorial

This commit is contained in:
LoveEevee
2018-10-06 16:24:23 +03:00
parent 57632a83e5
commit e1b8b45d88
14 changed files with 121 additions and 175 deletions

View File

@@ -58,8 +58,11 @@ class Scoresheet{
event.preventDefault()
this.canvas.style.cursor = ""
this.state.pointerLocked = true
}else if(event.which !== 1){
return
}else{
this.state.pointerLocked = false
if(event.which !== 1){
return
}
}
this.toNext()
}
@@ -600,7 +603,7 @@ class Scoresheet{
if(elapsed >= 1000){
this.clean()
this.controller.songSelection(true)
this.controller.songSelection(true, false, this.state.pointerLocked)
}
}