mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Removed display of selected index with incorrect value on bar chart.
This commit is contained in:
@@ -143,10 +143,12 @@ void BarChartView::paintSelectedXIndex(
|
||||
_lastSelectedXIndex = selectedXIndex;
|
||||
_lastSelectedXProgress = progress;
|
||||
|
||||
if ((_lastSelectedXIndex < 0) && (was < 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_isStack) {
|
||||
if ((_lastSelectedXIndex >= 0) || (was >= 0)) {
|
||||
BarChartView::paintChartAndSelected(p, c);
|
||||
}
|
||||
BarChartView::paintChartAndSelected(p, c);
|
||||
} else {
|
||||
const auto linesFilter = linesFilterController();
|
||||
auto hq = PainterHighQualityEnabler(p);
|
||||
|
Reference in New Issue
Block a user