fix: disable auto-scrolling to real-time on new data load

This commit is contained in:
DiTus
2026-03-21 22:02:38 +01:00
parent cdfe8f1a39
commit ace4d4f49e

View File

@ -785,9 +785,12 @@ async loadNewData() {
//console.log(`[NewData Load] Added ${chartData.length} new candles, total in dataset: ${this.allData.get(this.currentInterval).length}`); //console.log(`[NewData Load] Added ${chartData.length} new candles, total in dataset: ${this.allData.get(this.currentInterval).length}`);
// Auto-scrolling disabled per user request
/*
if (atEdge) { if (atEdge) {
this.chart.timeScale().scrollToRealTime(); this.chart.timeScale().scrollToRealTime();
} }
*/
this.updateStats(latest); this.updateStats(latest);