mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Added fade effect to price categories in star gift box.
This commit is contained in:
parent
f583879aee
commit
f0b9bc10c2
1 changed files with 8 additions and 0 deletions
|
@ -795,6 +795,14 @@ struct GiftPriceTabs {
|
|||
.availableWidth = button.text.maxWidth(),
|
||||
});
|
||||
}
|
||||
{
|
||||
const auto &icon = st::defaultEmojiSuggestions;
|
||||
const auto w = icon.fadeRight.width();
|
||||
const auto &c = st::boxDividerBg->c;
|
||||
const auto r = QRect(0, 0, w, raw->height());
|
||||
icon.fadeRight.fill(p, r.translated(raw->width() - w, 0), c);
|
||||
icon.fadeLeft.fill(p, r, c);
|
||||
}
|
||||
}, raw->lifetime());
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue