Add lyrics
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user