mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed crash in non-stack bar chart view when hide selected point.
This commit is contained in:
parent
77dc234b2d
commit
a1a415de82
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue