mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Removed chart paint below bottom line in chart widget.
This commit is contained in:
parent
f76f69b5cd
commit
d8566f770f
1 changed files with 8 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue