From 8d0b2eff086a4849cd04c5277543ac4dc78709d5 Mon Sep 17 00:00:00 2001 From: Banana Energy <372728339@qq.com> Date: Tue, 2 Aug 2022 22:09:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=88=AA=E5=9B=BE?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/handler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/handler.js b/src/controllers/handler.js index 0b29480..791ce65 100644 --- a/src/controllers/handler.js +++ b/src/controllers/handler.js @@ -4746,8 +4746,8 @@ export default function luckysheetHandler() { } let newCanvas = $("").attr({ - width: Math.ceil(ch_width * devicePixelRatio), - height: Math.ceil(rh_height * devicePixelRatio) + width: Math.ceil(ch_width * Store.devicePixelRatio), + height: Math.ceil(rh_height * Store.devicePixelRatio) }).css({ width: ch_width, height: rh_height }); luckysheetDrawMain(scrollWidth, scrollHeight, ch_width, rh_height, 1, 1, null, null, newCanvas);