mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix ripple animation on Added sticker set button.
This commit is contained in:
parent
8ab118a8e9
commit
971803803c
1 changed files with 4 additions and 1 deletions
|
@ -1760,8 +1760,11 @@ void StickersBox::Inner::setActionDown(int newActionDown) {
|
|||
const auto &st = installedSet
|
||||
? st::stickersTrendingInstalled
|
||||
: st::stickersTrendingAdd;
|
||||
const auto buttonTextWidth = installedSet
|
||||
? _installedWidth
|
||||
: _addWidth;
|
||||
auto rippleMask = Ui::RippleAnimation::RoundRectMask(
|
||||
QSize(_addWidth - st.width, st.height),
|
||||
QSize(buttonTextWidth - st.width, st.height),
|
||||
st::roundRadiusLarge);
|
||||
ensureRipple(
|
||||
st.ripple,
|
||||
|
|
Loading…
Add table
Reference in a new issue