Reduced line width in footer of charts.

This commit is contained in:
23rd 2023-10-03 19:09:34 +03:00 committed by John Preston
parent 6109ec70b8
commit 0909e8bd08
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ void PaintChartLine(
const auto yPoint = (1. - yPercentage) * c.rect.height();
chartPoints << QPointF(xPoint, yPoint);
}
p.setPen(QPen(line.color, st::statisticsChartLineWidth));
p.setPen(QPen(
line.color,
c.footer ? st::lineWidth : st::statisticsChartLineWidth));
p.setBrush(Qt::NoBrush);
p.drawPolyline(chartPoints);
}