fix(D 예정노선): 노드 위 핀 누름 = 노드 고름 · 끌면 지점 같이 (PLAN 598-3)

- 핀이 노드 자리에 있으면 핀 겹이 누름을 안 먹음 — 노드 판 · 넓힘이 가능

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 14:51:48 +09:00
co-authored by Claude Opus 5.5
parent ff49f2c8a2
commit e68744c3eb
@@ -124,7 +124,7 @@ export function createPlanPoints(params: PlanPointsParams): PlanPoints {
press(px, py, map, button) {
if (button !== 0 || !params.editable() || !params.idle()) return false;
const index = pinAt(px, py, map);
if (index === null) return false;
if (index === null || nodeNear(px, py, map) !== null) return false; // 노드 위 = 고르기 겹(노드 고름 · 끌면 지점 같이)
drag = { index, points: params.points(), network: params.network(), last: null };
return true;
},