diff --git a/B05_Profile/B05_Profile_UI_Profile_Panel_Tools.ts b/B05_Profile/B05_Profile_UI_Profile_Panel_Tools.ts index 7f57e4b54..3273f4c69 100644 --- a/B05_Profile/B05_Profile_UI_Profile_Panel_Tools.ts +++ b/B05_Profile/B05_Profile_UI_Profile_Panel_Tools.ts @@ -136,6 +136,8 @@ export function createPanelTools(ctx: PanelToolsContext): PanelTools { return start !== null ? [start, hoverM] : sub ? [sub.fromM, sub.toM] : null; }); const mountViews = (mode: string): void => { + // [쉬프트] 붉은 강조는 그래프를 다시 그릴 때만 지워짐 — 다른 도구로 넘어가면 바로 뗌(271-1) + if (mode !== "shift") lastGeom?.chart.querySelector(".b05-profile-runmark")?.remove(); freeView.mount(lastGeom, mode === "free"); bandView.mount(lastGeom, mode === "straighten"); };