Fix characters with page zoom

This commit is contained in:
LoveEevee 2019-01-01 04:57:21 +03:00
parent 9e8242b136
commit 06cdc1c7e2

View File

@ -180,7 +180,7 @@ class Scoresheet{
this.canvasCache.resize(winW / ratio, 80 + 1, ratio)
if(!this.multiplayer){
this.tetsuoHana.style.setProperty("--scale", ratio)
this.tetsuoHana.style.setProperty("--scale", ratio / this.pixelRatio)
}
}else if(!document.hasFocus() && this.state.screen === "scoresShown"){
return