From bc8148fea8e596ad241f591398e7996db9a0a888 Mon Sep 17 00:00:00 2001 From: strawberry <2806566736@.qq.com> Date: Mon, 13 Oct 2025 14:16:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=AB=98=E6=B8=85=E7=94=BB?= =?UTF-8?q?=E5=B8=83=E7=BC=A9=E6=94=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/maps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/maps.js b/libs/maps.js index 3c49178..e47e053 100644 --- a/libs/maps.js +++ b/libs/maps.js @@ -37,7 +37,7 @@ maps.prototype._resetFloorImages = function () { maps.prototype._setHDCanvasSize = function (ctx, width, height) { if (main.replayChecking) return ctx.setTransform(1, 0, 0, 1, 0, 0); - var ratio = core.domStyle.scale; + var ratio = core.domStyle.ratio; ratio *= devicePixelRatio; if (width != null) ctx.canvas.width = width * ratio; if (height != null) ctx.canvas.height = height * ratio;