mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Activity chart full replot on x-axis change
This is a continuation of previous commit, since x-axis change affects the is blank status we need a full replot to consider cases when the selected activity lacks time or distance.
This commit is contained in:
@@ -3360,16 +3360,8 @@ AllPlotWindow::setByDistance(int value)
|
||||
intervalPlot->setByDistance(value);
|
||||
allPlot->setByDistance(value);
|
||||
|
||||
// refresh controls, specifically spanSlider
|
||||
setAllPlotWidgets(fullPlot->rideItem);
|
||||
|
||||
// refresh
|
||||
setupSeriesStack = setupStack = false;
|
||||
redrawFullPlot();
|
||||
redrawAllPlot();
|
||||
setupStackPlots();
|
||||
setupSeriesStackPlots();
|
||||
redrawIntervalPlot();
|
||||
// replot
|
||||
forceReplot();
|
||||
|
||||
active = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user