auto: 2026-08-29 16:49 (EOMSANGDON-HOME)

This commit is contained in:
2026-08-29 16:49:38 +09:00
parent ce0bc7d234
commit effd5e59d3
2 changed files with 2 additions and 2 deletions
@@ -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);
}
@@ -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) {