mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Fix "Open" miniapp button antialiasing.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user