feat(b06): [상세] 모달 팬 · 줌 = 도형 층만 · 축 제자리 다시 그림 · 표 글자 14px · 이름 칸 머리색 (179-3)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JywHxQuWPk6UYXTebyrBoU
This commit is contained in:
2026-10-10 11:50:10 +09:00
co-authored by Claude Opus 5.5
parent 68e8c896e4
commit b830f8c456
7 changed files with 229 additions and 43 deletions
+17 -2
View File
@@ -37,6 +37,7 @@ import {
import {
type CrossPlotBase,
crossPlotBase,
crossPlotFromBase,
effectiveCardHalfWidth,
fitPlotBase,
naturalHeightAtWidth,
@@ -561,9 +562,23 @@ export function createSectionView(
// 카드 줌 · 팬은 카드 몫 — 모달 그림은 1배에서 시작(카드 상태는 되돌려 둠)
const cardZoom = cardZoomStates.get(stationId);
cardZoomStates.delete(stationId);
const card = buildCrossCard(section, heightPx, base && fitPlotBase(base, heightPx), widthPx);
const fitted = base && fitPlotBase(base, heightPx);
const card = buildCrossCard(section, heightPx, fitted, widthPx);
if (cardZoom) cardZoomStates.set(stationId, cardZoom);
return card.querySelector<SVGSVGElement>("svg.b06-section__chart");
const svg = card.querySelector<SVGSVGElement>("svg.b06-section__chart");
if (!svg) return null;
// 축 다시 그리기 옵션(179-3) — 카드 `createCrossAxes` 와 같은 기하
const plot = fitted && crossPlotFromBase(fitted, heightPx);
const axes = plot && {
widthPx,
heightPx,
pixelsPerMeter: plot.pixelsPerMeter,
maxOffset: plot.maxOffset,
displayMax: plot.displayMax,
elevationMid: plot.elevationMid,
exaggeration: Math.max(currentExaggeration, 0.1),
};
return { svg, axes };
},
focusStation(stationId) {
if (stationId === null) clearSelection();