mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-22 14:32:12 +08:00
cabana: Fix visibility issue for a single data point in series (#32749)
Fix visibility issue for a single data point in series
old-commit-hash: 38529c5057
This commit is contained in:
@@ -277,7 +277,7 @@ void ChartView::updateSeriesPoints() {
|
||||
}
|
||||
((QScatterSeries *)s.series)->setMarkerSize(size);
|
||||
} else {
|
||||
s.series->setPointsVisible(pixels_per_point > 20);
|
||||
s.series->setPointsVisible(num_points == 1 || pixels_per_point > 20);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user