merge: 구조물 패널 후속 수정 4건을 통합한다
This commit is contained in:
@@ -173,22 +173,6 @@ export async function renderB06ProfileCross(root: HTMLElement): Promise<void> {
|
||||
const inletLeft = (owner.uphill_side ?? "left") === "left";
|
||||
return inletLeft ? { inlet: "좌", outlet: "우" } : { inlet: "우", outlet: "좌" };
|
||||
},
|
||||
// 폼 단 수 ↔ 다단 채널(유출 벽 = extra, 유입·계류측 = bextra) — 좌·우가 각자 쓴다.
|
||||
setTierCount: (chainageM, role, tiers) => {
|
||||
const extras = Math.max(0, Math.round(tiers) - 1);
|
||||
stationControls.extraWalls.setCount(
|
||||
chainageM,
|
||||
extras,
|
||||
role === "outlet" ? "outlet" : "basin",
|
||||
);
|
||||
},
|
||||
tierCount: (chainageM, role) => {
|
||||
const owner = sectionDetail?.cross_sections.find(
|
||||
(section) => Math.abs(section.chainage_m - chainageM) < 0.51,
|
||||
);
|
||||
if (!owner) return null;
|
||||
return stationControls.extraWalls.countFor(owner, role === "outlet" ? "outlet" : "basin") + 1;
|
||||
},
|
||||
stationInterval: () => stationInterval ?? 20,
|
||||
focusChainage: focusStationAt,
|
||||
queuePipeOptions: (chainageM, patch) => stationControls.queueCulvertOptions(chainageM, patch),
|
||||
|
||||
Reference in New Issue
Block a user