fixed: use getHTMLElement instead of domNode

This commit is contained in:
DiTus
2026-03-01 22:52:28 +01:00
parent 32bbdc2248
commit f7aaa709bc

View File

@ -961,7 +961,6 @@ export function drawIndicatorsOnChart() {
pane.setHeight(storedHeight);
// Subscribe to pane height changes to save to localStorage
const currentPane = pane;
const originalHeight = storedHeight;
const resizeObserver = new ResizeObserver((entries) => {
for (const entry of entries) {
@ -973,7 +972,7 @@ export function drawIndicatorsOnChart() {
}
}
});
resizeObserver.observe(pane.domNode());
resizeObserver.observe(pane.getHTMLElement());
}
});