feat(B05): 352-5 곡선 버튼 이름 명사형 — 곡선 삭제 · 곡선 추가

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
This commit is contained in:
2026-10-16 20:46:15 +09:00
co-authored by Claude Sonnet 5.5
parent 25830f4a54
commit d6ceb51feb
2 changed files with 3 additions and 2 deletions
@@ -197,7 +197,7 @@ export function createCurveLabel(
lockApex.dataset.act = "lock-apex";
root.querySelector('[data-slot="lock-apex"]')!.replaceWith(lockApex);
/** 끝점에서는 숨길 곡선 칸 — 곡선 지우기 단추 · 반지름 줄 · 곡선 길이 줄 · 내각 글. */
/** 끝점에서는 숨길 곡선 칸 — 곡선 삭제 단추 · 반지름 줄 · 곡선 길이 줄 · 내각 글. */
const curveOnly = [toggle, radiusField.wrapper, arcField.wrapper, info];
// 패널 위에서 누른 것이 캔버스로 새어 나가면 노드가 딸려 움직인다.
@@ -327,7 +327,7 @@ export function createCurveLabel(
lockApex.title = end
? `${name} 고정 — 켜면 끌어 옮길 수 없습니다. 풀면 끌어 옮깁니다`
: "교각점 고정 — 이 꺾임점의 자리를 못 박습니다. 노드도 손잡이도 안 끌리고 반지름·곡선 길이 칸으로만 바뀝니다";
toggle.textContent = state.curveOn ? "곡선 지우기" : "곡선 넣기";
toggle.textContent = state.curveOn ? "곡선 삭제" : "곡선 추가";
radius.disabled = !state.curveOn;
arc.disabled = !state.curveOn;
lockRadius.disabled = !state.curveOn;
@@ -106,6 +106,7 @@ def test_페이지_수명_닫기_없음():
assert len(main.splitlines()) <= 700
label = _read("B05_Profile_UI_RouteEdit_Label.ts")
assert "document.body.append" not in label and "container.append(root);" in label
assert '"곡선 삭제" : "곡선 추가"' in label # 352-5 — 버튼 이름은 명사형
assert "container: overlay," in main
apply = _read("B05_Profile_UI_RouteEdit_Apply.ts")
assert "close" not in apply.split("export function bindRouteApply", 1)[1]