From 06cdc1c7e24bfe9559e46f3ac85bb9383a6d4d52 Mon Sep 17 00:00:00 2001 From: LoveEevee Date: Tue, 1 Jan 2019 04:57:21 +0300 Subject: [PATCH] Fix characters with page zoom --- public/src/js/scoresheet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/scoresheet.js b/public/src/js/scoresheet.js index abc6786..afb8ac5 100644 --- a/public/src/js/scoresheet.js +++ b/public/src/js/scoresheet.js @@ -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