mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix rounding in boost features box.
This commit is contained in:
parent
b20b3142a2
commit
c4fc43ccc0
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ namespace {
|
||||||
st::boostLevelBadge.style.font->height
|
st::boostLevelBadge.style.font->height
|
||||||
).marginsAdded(st::boostLevelBadge.margin);
|
).marginsAdded(st::boostLevelBadge.margin);
|
||||||
auto p = QPainter(label);
|
auto p = QPainter(label);
|
||||||
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
auto gradient = QLinearGradient(
|
auto gradient = QLinearGradient(
|
||||||
rect.topLeft(),
|
rect.topLeft(),
|
||||||
rect.topRight());
|
rect.topRight());
|
||||||
|
|
Loading…
Add table
Reference in a new issue