mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed crash in statistics on linear charts with filtered first line.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user