실시간 챠트 오류 수정

This commit is contained in:
Macbook
2026-05-30 02:55:41 +09:00
parent 0e46104106
commit b4dcebf758
4 changed files with 37 additions and 12 deletions
+5 -1
View File
@@ -2643,9 +2643,13 @@ export class ChartManager {
visible: false,
} as Parameters<ISeriesApi<SeriesType>['applyOptions']>[0]);
} catch { /* ok */ }
this.container.style.height = '';
this._resetPaneHeightsCandleFullscreen(availableHeight);
this._hideAllSubPaneIndicators();
const H = availableHeight && availableHeight > 0 ? availableHeight : 0;
const W = this.container.clientWidth;
if (H > 0 && W > 0) {
try { this.chart.resize(W, H); } catch { /* ok */ }
}
} else {
this.restoreFromCandleFullscreen(availableHeight);
}