mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 20:23:52 +00:00
fix trade-select
This commit is contained in:
parent
3c55cc7f19
commit
f21cc09308
|
@ -649,12 +649,10 @@ function initializeChartOptions() {
|
|||
function updateSliderPosition() {
|
||||
if (!props.sliderPosition) return;
|
||||
|
||||
const start = timestampms(props.sliderPosition.startValue - props.dataset.timeframe_ms * 40);
|
||||
const end = timestampms(
|
||||
props.sliderPosition.endValue
|
||||
? props.sliderPosition.endValue + props.dataset.timeframe_ms * 40
|
||||
: props.sliderPosition.startValue + props.dataset.timeframe_ms * 80,
|
||||
);
|
||||
const start = props.sliderPosition.startValue - props.dataset.timeframe_ms * 40;
|
||||
const end = props.sliderPosition.endValue
|
||||
? props.sliderPosition.endValue + props.dataset.timeframe_ms * 40
|
||||
: props.sliderPosition.startValue + props.dataset.timeframe_ms * 80;
|
||||
if (candleChart.value) {
|
||||
candleChart.value.dispatchAction({
|
||||
type: 'dataZoom',
|
||||
|
|
Loading…
Reference in New Issue
Block a user