fix(B06 횡단): 암 경계선 판정 선을 설계선 판정 아래로 — 사면 발치 겹친 자리는 사면이 먼저 골라짐 (370-3)

- 화면 검증에서 1+0 우 절토 사면 누름이 암 판정 선에 먹힘 · 그리는 차례만 아래로(키 차례 그대로)
- test_370_3 판정 선 「설계선 판정 아래」 확인 · helper insertBefore 참조 자리 따름

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014utrjfoW831Vc5wJUd13kL
This commit is contained in:
2026-10-17 13:16:57 +09:00
co-authored by Claude Opus 5.5
parent fe025b6db2
commit 75f4cc982f
3 changed files with 10 additions and 5 deletions
@@ -522,6 +522,8 @@ export function attachDesignLinePick(input: {
});
layer.insertBefore(hit, firstStructureHit ?? null);
});
// 암 판정 선은 보라 선 판정 아래 — 사면 발치처럼 겹친 자리는 설계선이 먼저 골라짐
if (rockHit && hits[0] !== rockHit) layer.insertBefore(rockHit, hits[0]);
const cell = buildLineCell();
let side: CrossSide | null = null;