실시간 차트 갱신오류 수정

This commit is contained in:
Macbook
2026-06-12 22:26:31 +09:00
parent 65fe1404b8
commit 9e4d24ee2a
4 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -752,7 +752,7 @@ function ChartWorkspaceViewInner(props: ChartWorkspaceViewProps) {
if (last && pending.time === last.time) mgr.updateBar(pending);
else if (!last || pending.time > last.time) void mgr.appendBar(pending);
else mgr.updateBar({ ...pending, time: last.time });
} else {
} else if (chartLiveReadyRef.current) {
pendingRealtimeBarRef.current = null;
}
mgr.setCandleAreaPriceLabelsEnabled(chartCandleAreaPriceLabels);