fix(472 덧 B05 관 지움 ↶): 관 초안 없는 걸음 = 저장분 — 판이 마지막 저장분 답과 견줘 다르면 조용히 다시 읽음 · 옛 「처음 본 관 목록」(판이 읽기 전 빈 목록 · 관 하나 지움 ↶ 이 같은 목록으로 멈춤 → 배수판 · 시설 줄 · 알약 · 목록 관 없음 · −17,385.4 · B06 보기 배수유역도 관 · 세부유역 빠짐) 걷음 · 종단 ↶ ↷ 켜짐 = 사진첩 change 알림으로 바로(삭제 직후 꺼져 있던 흠) · 시험 test_472_d_b05_pipe_undo(옛 코드 빨강 2) · 옛 단언 215_1 이름 · 219_1 흉내 · 위키 operations_common · _b05 · rules 줄
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -249,7 +249,7 @@ export function createDesignProfile(ctx: DesignProfileContext) {
|
||||
};
|
||||
|
||||
/* [직선화]·[쉬프트]·되돌리기·방향키 배선은 `_Panel_Tools` 몫(700줄 한계). */
|
||||
const { tools, history, handleToolPick, setListening } = createPanelTools({
|
||||
const { tools, history, handleToolPick, setListening, disposeTools } = createPanelTools({
|
||||
root,
|
||||
base: () => base,
|
||||
alignment: () => alignment,
|
||||
@@ -262,7 +262,7 @@ export function createDesignProfile(ctx: DesignProfileContext) {
|
||||
moveStation: (station, toChainageM) =>
|
||||
callbacks?.onStructureMove?.(station.chainage_m, toChainageM, station),
|
||||
// 판이 없는 보기는 관 자리를 되돌리기에 태우지 않는다.
|
||||
drainage: drainagePanel ?? { pipeChainages: () => [], setPipeChainages: () => undefined },
|
||||
drainage: drainagePanel ?? { setPipeChainages: () => undefined },
|
||||
// 세션이 정본 — 가게가 편집 초안을 다시 읽음(노선 초안 동안은 노선 0 칸) · 계획고가 그대로면 다시 셈 예약 없음(349-0q)
|
||||
restore: () => void (store.resync() ? rebuild() : draw()),
|
||||
restoreSaved: () => store.restoreSaved(),
|
||||
@@ -666,6 +666,7 @@ export function createDesignProfile(ctx: DesignProfileContext) {
|
||||
dispose() {
|
||||
pagePipeline.disposePagePipeline(projectId);
|
||||
setListening(false);
|
||||
disposeTools();
|
||||
drag.dispose();
|
||||
crossPreview.dispose();
|
||||
unbindViewport();
|
||||
|
||||
Reference in New Issue
Block a user