Fix syntax error and add price format selector listener

This commit is contained in:
DiTus
2026-03-18 23:23:10 +01:00
parent 406c3d7b95
commit e47b9cd5c3

View File

@ -319,6 +319,10 @@ constructor() {
}, },
}, },
handleScroll: { handleScroll: {
vertTouchDrag: false,
},
});
// Setup price format selector change handler // Setup price format selector change handler
const priceSelect = document.getElementById("priceFormatSelect"); const priceSelect = document.getElementById("priceFormatSelect");
if (priceSelect) { if (priceSelect) {
@ -329,9 +333,6 @@ constructor() {
}); });
}); });
} }
vertTouchDrag: false,
},
});
this.candleSeries = this.chart.addSeries(LightweightCharts.CandlestickSeries, { this.candleSeries = this.chart.addSeries(LightweightCharts.CandlestickSeries, {
upColor: '#ff9800', upColor: '#ff9800',