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;