auto: 2026-08-29 16:49 (EOMSANGDON-HOME)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user