mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-22 02:07:24 +00:00
Remove blue border from gifts.
This commit is contained in:
parent
f51320d1bc
commit
e1f4fd0c7b
@ -305,6 +305,9 @@ void GiftButton::paintBackground(QPainter &p, const QImage &background) {
|
||||
|
||||
auto hq = PainterHighQualityEnabler(p);
|
||||
const auto progress = _selectedAnimation.value(_selected ? 1. : 0.);
|
||||
if (progress < 0.01) {
|
||||
return;
|
||||
}
|
||||
const auto pwidth = progress * st::defaultRoundCheckbox.width;
|
||||
p.setPen(QPen(st::defaultRoundCheckbox.bgActive->c, pwidth));
|
||||
p.setBrush(Qt::NoBrush);
|
||||
|
Loading…
x
Reference in New Issue
Block a user