fix(M02): 구조물 조합 「일위대가 합계」 줄 머리 칸 폭 — 글이 안 잘리게(86-3)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MgChuAcyBqUkhHMTXomQC7
This commit is contained in:
2026-10-08 12:32:48 +09:00
co-authored by Claude Sonnet 5.5
parent 142194a1e5
commit e03600e4d9
@@ -118,6 +118,7 @@ export function renderSheet(state: RenderState): HTMLElement {
st("Row_Unit_Price"),
st("Row_Drawing"),
st("Row_Area"),
...(state.laborSumLabel ? [st("Row_LaborSum")] : []),
...(doc.합계줄 ?? []).map((t) => t.이름),
].map((label) => Math.ceil(textWidth(label, font)) + 16),
),