fix(380-4): 글만 있는 상세 표 위 CAD 과확대 — 맞춤 최소 높이 곁값

- CAD 맞춤(fitView) = 범위를 위 끝에서 아래로 최소 높이까지 늘림 · 부모가 실을 때 fitMinHeight 로 보냄(안 보내면 종전 그대로)
- B06 상세 표 위 CAD = 16(원 마크 아래 끝 ~ 첫 줄 위) — 사토장 등 글만 있는 측점도 배관 측점과 같은 글 크기 · 둘째 줄 안 잘림
- 시험 resources/tester/cad/fit-min-height(종전 3배 넘는 확대 · 같은 배율 · 위 끝 같음 · 큰 범위 그대로)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
This commit is contained in:
2026-10-17 16:07:12 +09:00
co-authored by Claude Opus 5.5
parent e9908f3976
commit 5b993ddded
5 changed files with 66 additions and 1 deletions
@@ -73,6 +73,8 @@ const LAYER_ID = "기본";
const BLANK_LAYER = { id: LAYER_ID, name: "기본", isVisible: true, isLocked: false };
const FONT = 2.0;
const LINE = 3.0;
/** 표 위 CAD 맞춤 최소 높이 — 원 마크 아래 끝(−15.5) ~ 첫 줄 위(+0.5) · 글만 있는 측점도 같은 글 크기(380-4). */
const NOTE_FIT_HEIGHT = 16;
/** 옛 글 색 = B07 표 글(`TABLE_LABEL_COLOR`) · 미리 넣음 = 그림처럼 붉은 계열. */
const NOTE_COLOR = "#e8edf4";
const CULVERT_COLOR = "#ff7f7f";
@@ -344,6 +346,7 @@ export function mountNoteCad(
recoveryScope: scope,
hostTitle: "표 위 CAD",
bare: true,
fitMinHeight: NOTE_FIT_HEIGHT,
},
);
});