mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Removed chart paint below bottom line in chart widget.
This commit is contained in:
@@ -664,7 +664,14 @@ void ChartWidget::setupChartArea() {
|
||||
for (auto &horizontalLine : _horizontalLines) {
|
||||
PaintCaptionsToHorizontalLines(p, horizontalLine, chartRect);
|
||||
}
|
||||
|
||||
{
|
||||
const auto bottom = r
|
||||
- QMargins{ 0, rect::bottom(chartRect), 0, 0 };
|
||||
p.fillRect(bottom, st::boxBg);
|
||||
p.fillRect(
|
||||
QRect(bottom.x(), bottom.y(), bottom.width(), st::lineWidth),
|
||||
st::boxTextFg);
|
||||
}
|
||||
{
|
||||
auto o = ScopedPainterOpacity(p, detailsAlpha);
|
||||
for (const auto &dot : detailsPaintContext.dots) {
|
||||
|
Reference in New Issue
Block a user