feat(B05): 공사 시작점 컨테이너를 시작 측점 및 샘플링 설정으로 일원화

- 컨테이너 제목 변경: 측점 및 샘플링 설정 → 시작 측점 및 샘플링 설정
- 시작 측점·시작 누가거리(m) 2열 행을 통합 컨테이너 최상단으로 이동,
  별도 공사 시작점 섹션 제거 (2026-08-06 사용자 지시)
- 동작 로직(표시 오프셋 콜백)은 그대로 — 배치만 이동

실측: 통합 컨테이너 최상단 배치 확인, 콘솔 에러 0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 18:15:33 +09:00
co-authored by Claude Fable 5
parent 1b48ab3732
commit 7ab4816edd
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -312,9 +312,10 @@ export function createRoutePanel(callbacks: PanelCallbacks) {
);
gradeLine.body.append(terrainField.root, criteriaNote, gradeAdvanced);
// 공사 시작 — 이전 공사에 이어 시공할 때 0측점을 임의 측점/누가거리로 시작 표기한다.
// 공사 시작 기준 — 이전 공사에 이어 시공할 때 0측점을 임의 측점/누가거리로 시작 표기한다.
// (내부 chainage는 0기준 유지, 측점 라벨·누가거리 "표시"만 이 값만큼 이동.) 기본값 0/0.
const startBasis = section("공사 시작점");
// 별도 "공사 시작점" 컨테이너를 없애고 "시작 측점 및 샘플링 설정" 최상단으로 일원화
// (2026-08-06 사용자 지시).
const startStation = numberField("시작 측점", "0");
startStation.step = "1";
startStation.min = "0";
@@ -323,7 +324,7 @@ export function createRoutePanel(callbacks: PanelCallbacks) {
const startRow = document.createElement("div");
startRow.className = "b05-route__field-row";
startRow.append(startStation.wrapper, startCumulative.wrapper);
startBasis.body.append(startRow);
sectionOptions.body.prepend(startRow);
const stationDisplayOffset = (): { station: number; cumulative: number } => ({
station: Math.max(0, Math.round(Number(startStation.value) || 0)),
cumulative: Number(startCumulative.value) || 0,
@@ -390,7 +391,6 @@ export function createRoutePanel(callbacks: PanelCallbacks) {
gradeLine.root,
contour.root,
sectionOptions.root,
startBasis.root,
irregular.root,
palette.root,
selected.root,
+1 -1
View File
@@ -142,7 +142,7 @@ export const ui_locales_b2 = {
B05_Route_Solve_Failed: ["경로 탐색에 실패했습니다.", "Route solve failed."],
B05_Route_Confirm_Success: ["경로를 확정했습니다.", "Route confirmed."],
B05_Route_Confirm_Failed: ["경로 확정에 실패했습니다.", "Route confirm failed."],
B05_Route_Group_SectionOptions: ["측점 및 샘플링 설정", "Station & Sampling Settings"],
B05_Route_Group_SectionOptions: ["시작 측점 및 샘플링 설정", "Start Station & Sampling Settings"],
B05_Route_Field_StationInterval: ["측점 간격(m)", "Station interval (m)"],
B05_Route_Field_CrossHalfWidth: ["횡단 반폭(m)", "Cross half-width (m)"],
B05_Route_Field_CrossSample: ["횡단 샘플 간격(m)", "Cross sample interval (m)"],