Fixed crash in statistics on linear charts with filtered first line.

This commit is contained in:
23rd 2023-11-13 00:44:26 +03:00 committed by John Preston
parent 9324ceeb24
commit 617be49e55

View file

@ -163,7 +163,7 @@ void LinearChartView::paintSelectedXIndex(
+ c.rect.topLeft();
}
if (!linePainted) {
if (!linePainted && lineAlpha) {
[[maybe_unused]] const auto o = ScopedPainterOpacity(
p,
p.opacity() * progress * kRulerLineAlpha);