diff --git a/B07_DesignDetail/openwebcad/src/drawControllers/screenCanvas.drawController.ts b/B07_DesignDetail/openwebcad/src/drawControllers/screenCanvas.drawController.ts index 0d2032d7..d72c03eb 100644 --- a/B07_DesignDetail/openwebcad/src/drawControllers/screenCanvas.drawController.ts +++ b/B07_DesignDetail/openwebcad/src/drawControllers/screenCanvas.drawController.ts @@ -69,7 +69,6 @@ export class ScreenCanvasDrawController implements DrawController { } public setScreenScale(newScreenScale: number) { - console.log(`set screen scale: ${newScreenScale}`); this.screenScale = newScreenScale; triggerReactUpdate(StateVariable.screenZoom); } diff --git a/B07_DesignDetail/openwebcad/src/inputController/input-controller.ts b/B07_DesignDetail/openwebcad/src/inputController/input-controller.ts index f5c8de0a..4f1c37af 100644 --- a/B07_DesignDetail/openwebcad/src/inputController/input-controller.ts +++ b/B07_DesignDetail/openwebcad/src/inputController/input-controller.ts @@ -238,7 +238,8 @@ export class InputController { const strength = Math.min(1, Math.max(0.12, Math.abs(evt.deltaY) / notch)); // 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, strength); + // 다만 트랙패드 핀치(ctrl+휠)는 OS 관행대로 — 손가락을 벌리면 커진다. + drawController.zoomScreen(evt.ctrlKey ? evt.deltaY : -evt.deltaY, strength); } public handleMouseDown(evt: MouseEvent) {