obv 추가수정

This commit is contained in:
Macbook
2026-06-09 22:18:18 +09:00
parent 27c60be1e9
commit 7b4fc1f811
5 changed files with 79 additions and 28 deletions
@@ -64,10 +64,15 @@ export function initializeIndicatorConfigForEditor(
: { ...raw.params };
const visual = getVisualConfig?.(raw.type, def.plots, def.hlines);
const mergedPlots = mergePlotDefs(
raw.plots?.length ? raw.plots : undefined,
mergePlotDefs(visual?.plots, def.plots),
);
return enrichIndicatorConfig({
...raw,
params,
plots: raw.plots?.length ? raw.plots : visual?.plots,
plots: mergedPlots,
hlines: raw.hlines?.length ? raw.hlines : visual?.hlines,
cloudColors: raw.cloudColors ?? visual?.cloudColors,
bandBackground: raw.bandBackground ?? visual?.bandBackground,