mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed crash in statistics on linear charts with filtered first line.
This commit is contained in:
parent
9324ceeb24
commit
617be49e55
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ void LinearChartView::paintSelectedXIndex(
|
||||||
+ c.rect.topLeft();
|
+ c.rect.topLeft();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!linePainted) {
|
if (!linePainted && lineAlpha) {
|
||||||
[[maybe_unused]] const auto o = ScopedPainterOpacity(
|
[[maybe_unused]] const auto o = ScopedPainterOpacity(
|
||||||
p,
|
p,
|
||||||
p.opacity() * progress * kRulerLineAlpha);
|
p.opacity() * progress * kRulerLineAlpha);
|
||||||
|
|
Loading…
Add table
Reference in a new issue