feat(B07): CAD 휠 줌 방향 반전 — 당기면 확대, 밀면 축소
B04/B05 2D 지도·B06 횡단도와 같은 방향으로 맞췄다. openwebcad의 zoomScreen 계산식은 그대로 두고 호출부에서 부호만 뒤집어 넘긴다(외부 코드 변경 최소화). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user