모의투자, 백테스팅 레이아웃 수정

This commit is contained in:
Macbook
2026-05-24 20:13:21 +09:00
parent 958b813f3b
commit af230a4233
23 changed files with 2394 additions and 782 deletions
@@ -0,0 +1,20 @@
export type StrategyCanvasInteractionMode = 'pan' | 'select';
const STORAGE_KEY = 'gc_se_canvas_interaction';
export function loadCanvasInteractionMode(): StrategyCanvasInteractionMode {
try {
const raw = localStorage.getItem(STORAGE_KEY);
return raw === 'pan' ? 'pan' : 'select';
} catch {
return 'select';
}
}
export function saveCanvasInteractionMode(mode: StrategyCanvasInteractionMode): void {
try {
localStorage.setItem(STORAGE_KEY, mode);
} catch {
/* ignore */
}
}