mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Remove blue border from gifts.
This commit is contained in:
parent
f51320d1bc
commit
e1f4fd0c7b
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue