diff --git a/B06_Section/B06_Section_UI_Cross_View_Zoom.ts b/B06_Section/B06_Section_UI_Cross_View_Zoom.ts index ec140ebf..ad1da03a 100644 --- a/B06_Section/B06_Section_UI_Cross_View_Zoom.ts +++ b/B06_Section/B06_Section_UI_Cross_View_Zoom.ts @@ -192,8 +192,8 @@ export function attachZoomPan( * 그래프 우측 상단 줌 버튼(확대/축소/핏). 휠을 대신하는 조작구다. * * `width`를 넘기면 **원배율에서만** 버튼이 표시 반폭을 조절한다(2026-08-23 사용자 지시): - * − : 배율>1이면 축소, 원배율이면 반폭 +1m(계산 반폭 20m를 넘으면 백엔드 재계산) - * + : 배율>1이면 확대, 원배율이면 반폭 −1m + * + : 배율 확대(항상) + * − : 배율>1이면 축소, 원배율이면 표시 반폭 +1m(계산 반폭 20m를 넘으면 백엔드 재계산) * ⤢ : 배율 원복 + 절·성토 교차점이 다 보이는 폭으로 맞춤 */ export function buildZoomControls(handle: ZoomPanHandle, width?: CrossWidthActions): HTMLElement { @@ -212,10 +212,9 @@ export function buildZoomControls(handle: ZoomPanHandle, width?: CrossWidthActio }); bar.append(button); }; - add("+", L("B06_Profile_View_ZoomIn"), () => { - if (!width || handle.scale() > 1 + 1e-6) handle.zoom(1 / 0.85); - else width.step(-1); - }); + // +는 언제나 배율 확대다 — 원배율에서 폭 좁히기로 바꿔 놨더니 배율이 1에서 못 올라가 + // 가운데 버튼 팬(배율>1에서만 열림)까지 막혔다(2026-08-23 사용자 보고). + add("+", L("B06_Profile_View_ZoomIn"), () => handle.zoom(1 / 0.85)); add("−", L("B06_Profile_View_ZoomOut"), () => { if (!width || handle.scale() > 1 + 1e-6) handle.zoom(0.85); else width.step(1);