mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix "Open" miniapp button antialiasing.
This commit is contained in:
parent
f94fd3118b
commit
080a8d7ee5
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ void RecentRow::rightActionPaint(
|
||||||
? st::activeButtonBgOver
|
? st::activeButtonBgOver
|
||||||
: st::activeButtonBg);
|
: st::activeButtonBg);
|
||||||
const auto radius = size.height() / 2;
|
const auto radius = size.height() / 2;
|
||||||
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
p.drawRoundedRect(QRect(QPoint(x, y), size), radius, radius);
|
p.drawRoundedRect(QRect(QPoint(x, y), size), radius, radius);
|
||||||
if (_actionRipple) {
|
if (_actionRipple) {
|
||||||
_actionRipple->paint(p, x, y, outerWidth);
|
_actionRipple->paint(p, x, y, outerWidth);
|
||||||
|
|
Loading…
Add table
Reference in a new issue