mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Fixed crash in non-stack bar chart view when hide selected point.
This commit is contained in:
@@ -149,7 +149,7 @@ void BarChartView::paintSelectedXIndex(
|
|||||||
|
|
||||||
if (_isStack) {
|
if (_isStack) {
|
||||||
BarChartView::paintChartAndSelected(p, c);
|
BarChartView::paintChartAndSelected(p, c);
|
||||||
} else {
|
} else if (selectedXIndex >= 0) {
|
||||||
const auto linesFilter = linesFilterController();
|
const auto linesFilter = linesFilterController();
|
||||||
auto hq = PainterHighQualityEnabler(p);
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
auto o = ScopedPainterOpacity(p, progress);
|
auto o = ScopedPainterOpacity(p, progress);
|
||||||
|
Reference in New Issue
Block a user