mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
Fix characters with page zoom
This commit is contained in:
parent
9e8242b136
commit
06cdc1c7e2
@ -180,7 +180,7 @@ class Scoresheet{
|
|||||||
this.canvasCache.resize(winW / ratio, 80 + 1, ratio)
|
this.canvasCache.resize(winW / ratio, 80 + 1, ratio)
|
||||||
|
|
||||||
if(!this.multiplayer){
|
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"){
|
}else if(!document.hasFocus() && this.state.screen === "scoresShown"){
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user