알림목록 화면오류 수정

This commit is contained in:
Macbook
2026-05-30 01:28:58 +09:00
parent ba6695eb9c
commit 0e46104106
5 changed files with 116 additions and 57 deletions
+11 -1
View File
@@ -358,6 +358,13 @@ const TradingChart: React.FC<TradingChartProps> = ({
required = mgr.resetPaneHeights(wrapperH);
}
if (paneLayoutClamp) {
try {
const w = wrapper.clientWidth;
if (w > 0 && wrapperH > 0) mgr.resize(w, wrapperH);
} catch { /* ok */ }
}
if (!paneLayoutClamp && required > wrapperH + 4) {
container.style.height = `${required}px`;
} else {
@@ -730,7 +737,10 @@ const TradingChart: React.FC<TradingChartProps> = ({
useEffect(() => {
if (!containerRef.current) return;
const mgr = new ChartManager(containerRef.current, theme);
const mgr = new ChartManager(containerRef.current, theme, {
compactPaneLayout: paneLayoutClamp,
autoSize: !paneLayoutClamp,
});
managerRef.current = mgr;
setChartMgr(mgr);
if (!volumeVisibleRef.current) {