feat(490-1 임시 횡단 표시): B05 종단 그래프 — 누르면 임시 횡단이 열리는 자리 가까이 원 · 세로 점선 · 측점 글 · 손가락 커서

- 판정 셈을 logic/B05_Profile_Profile_CrossPick.ts 한 함수(crossPickAt)로 뺌 — 누름 · 표시가 같은 판정
- 원지반선 위아래 8 px · 추가 측점 선 = 그 측점 · 측점선 · 단추 · 도구 중 · 끌기 · 스크롤 = 안 그림
- 포인터 이동 소수 px 를 누름과 같이 내려 맞춤 — 0.5 m 경계 1 m 어긋남 막음
- 시험 test_490_1_cross_pick · test_368_3 연결 자리 갱신

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-19 22:43:19 +09:00
co-authored by Claude Opus 5.5
parent 1e71ef8085
commit 6414fb83d8
7 changed files with 308 additions and 39 deletions
@@ -50,3 +50,54 @@
justify-content: flex-end;
gap: var(--spacing-8, 8px);
}
/* 임시 횡단이 열리는 자리 가까이 표시(490-1) — 누름은 아래 그래프 몫(통과) · 세로 축(5) 밑 */
.b05-crosshint {
position: absolute;
top: 0;
bottom: 0;
left: 0;
z-index: 4;
width: 0;
pointer-events: none;
}
.b05-crosshint[hidden],
.b05-crosshint__dot[hidden] {
display: none;
}
.b05-crosshint__line {
position: absolute;
top: 0;
bottom: 0;
left: 0;
border-left: 1px dashed var(--color-accent);
}
.b05-crosshint__dot {
position: absolute;
top: var(--crosshint-y);
left: 0;
width: 10px;
height: 10px;
border: 2px solid var(--color-accent);
border-radius: 50%;
background: var(--color-surface);
transform: translate(-50%, -50%);
box-sizing: border-box;
}
.b05-crosshint__label {
position: absolute;
top: var(--crosshint-y);
left: 10px;
transform: translateY(-50%);
padding: 1px 6px;
border: 1px solid var(--color-border);
border-radius: var(--radius-4, 4px);
background: var(--color-surface-raised);
color: var(--color-text-body);
font-size: var(--text-caption);
white-space: nowrap;
}