2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fixed crash in non-stack bar chart view when hide selected point.

This commit is contained in:
23rd
2024-03-15 17:08:17 +03:00
parent 77dc234b2d
commit a1a415de82

View File

@@ -149,7 +149,7 @@ void BarChartView::paintSelectedXIndex(
if (_isStack) {
BarChartView::paintChartAndSelected(p, c);
} else {
} else if (selectedXIndex >= 0) {
const auto linesFilter = linesFilterController();
auto hq = PainterHighQualityEnabler(p);
auto o = ScopedPainterOpacity(p, progress);