diff --git a/Telegram/SourceFiles/statistics/chart_widget.cpp b/Telegram/SourceFiles/statistics/chart_widget.cpp index 0ec76de46..ef7319581 100644 --- a/Telegram/SourceFiles/statistics/chart_widget.cpp +++ b/Telegram/SourceFiles/statistics/chart_widget.cpp @@ -970,7 +970,7 @@ void ChartWidget::setupChartArea() { [[maybe_unused]] const auto o = ScopedPainterOpacity( p, p.opacity() * kRulerLineAlpha); - const auto bottom = r + const auto bottom = rect() - QMargins{ 0, rect::bottom(chartRect), 0, 0 }; p.fillRect(bottom, st::boxBg); p.fillRect(