From f0270be9fe518b406cc596b202e3019854559cd8 Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 30 Jun 2026 18:04:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=BA=94=EB=B2=84=EC=8A=A4=20=ED=99=95?= =?UTF-8?q?=EB=8C=80=20=EB=B0=B0=EC=9C=A8=201.5x=EB=A1=9C=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- web-ui/arduino-emulator.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/web-ui/arduino-emulator.html b/web-ui/arduino-emulator.html index f1f1585..be335b2 100644 --- a/web-ui/arduino-emulator.html +++ b/web-ui/arduino-emulator.html @@ -7949,11 +7949,10 @@ function mobToggleBoard(){ function openZoom(canvas) { _src = canvas; // 화면의 90% 이내에서 최대 정수 배율 - const maxScale = Math.min( - Math.floor(window.innerWidth * 0.9 / canvas.width), - Math.floor(window.innerHeight * 0.9 / canvas.height) + const scale = Math.min(1.5, + window.innerWidth * 0.9 / canvas.width, + window.innerHeight * 0.9 / canvas.height ); - const scale = Math.max(1, maxScale); zoomCanvas.width = canvas.width * scale; zoomCanvas.height = canvas.height * scale; overlay.classList.add('open');