Add lyrics

This commit is contained in:
LoveEevee
2020-03-30 09:50:34 +03:00
parent 20b964ab2e
commit 3679c27986
11 changed files with 330 additions and 5 deletions

View File

@@ -247,6 +247,9 @@
}
this.fillComboCache()
this.setDonBgHeight()
if(this.controller.lyrics){
this.controller.lyrics.setScale(ratio / this.pixelRatio)
}
resized = true
}else if(this.controller.game.paused && !document.hasFocus()){
return
@@ -283,6 +286,10 @@
this.setDonBgHeight()
}
if(this.controller.lyrics){
this.controller.lyrics.update(ms)
}
ctx.save()
ctx.translate(0, frameTop)