실시간 차트 갱신오류 수정
This commit is contained in:
@@ -1014,7 +1014,7 @@ const ChartSlot = forwardRef<ChartSlotHandle, ChartSlotProps>(function ChartSlot
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user