fix(M02): 일위대가 라이브러리 — 나무에서 고른 조합 표시 · 층 조합 검사 글에서 아직 없는 키 뗌(PLAN 27-2b)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BU9gbNE3aWFUvE61pS2WGt
This commit is contained in:
2026-09-30 13:49:56 +09:00
co-authored by Claude Opus 5.5
parent ccd738fff8
commit 6d4b309e0d
2 changed files with 5 additions and 2 deletions
@@ -81,7 +81,10 @@ export function buildLaborLibrary(opt: LaborLibraryOptions): LaborLibrary {
return toView(took(got), noteOf(edit, got.지운조합));
},
},
onPick: (item) => void editor.open(item.key),
onPick: (item) => {
tree.select(item.key);
void editor.open(item.key);
},
// 나무를 고치기 전 — 저장 안 한 조합 고침은 버릴지 물음(버리면 목록으로)
settle: async () => {
if (!editor.isDirty()) return "clean";