Fixed display of bottom solid line in chart view for some scroll states.

This commit is contained in:
23rd 2023-12-06 22:37:45 +03:00 committed by John Preston
parent 1a856e359f
commit 29c9266ef5

View file

@ -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(