From e8098b6adeb9eaef09de8eddf5f37acbe0eaa9de Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 2 Aug 2026 01:16:10 +0900 Subject: [PATCH] =?UTF-8?q?feat(B07):=20CAD=20=ED=9C=A0=20=EC=A4=8C=20?= =?UTF-8?q?=EB=B0=A9=ED=96=A5=20=EB=B0=98=EC=A0=84=20=E2=80=94=20=EB=8B=B9?= =?UTF-8?q?=EA=B8=B0=EB=A9=B4=20=ED=99=95=EB=8C=80,=20=EB=B0=80=EB=A9=B4?= =?UTF-8?q?=20=EC=B6=95=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit B04/B05 2D 지도·B06 횡단도와 같은 방향으로 맞췄다. openwebcad의 zoomScreen 계산식은 그대로 두고 호출부에서 부호만 뒤집어 넘긴다(외부 코드 변경 최소화). Co-Authored-By: Claude Opus 5 (1M context) --- .../openwebcad/src/inputController/input-controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/B07_wf4_DesignDetail/openwebcad/src/inputController/input-controller.ts b/B07_wf4_DesignDetail/openwebcad/src/inputController/input-controller.ts index f27ff62d..55c0592a 100644 --- a/B07_wf4_DesignDetail/openwebcad/src/inputController/input-controller.ts +++ b/B07_wf4_DesignDetail/openwebcad/src/inputController/input-controller.ts @@ -218,7 +218,9 @@ export class InputController { return; // We can't zoom by zero delta } const drawController = getScreenCanvasDrawController(); - drawController.zoomScreen(evt.deltaY); + // Aislo: wheel direction is inverted on purpose - pulling the wheel zooms in, pushing + // zooms out, matching the B04/B05 maps and the B06 cross sections (2026-08-02). + drawController.zoomScreen(-evt.deltaY); } public handleMouseDown(evt: MouseEvent) {