mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Reduced line width in footer of charts.
This commit is contained in:
@@ -53,7 +53,9 @@ void PaintChartLine(
|
|||||||
const auto yPoint = (1. - yPercentage) * c.rect.height();
|
const auto yPoint = (1. - yPercentage) * c.rect.height();
|
||||||
chartPoints << QPointF(xPoint, yPoint);
|
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.setBrush(Qt::NoBrush);
|
||||||
p.drawPolyline(chartPoints);
|
p.drawPolyline(chartPoints);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user