mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix stickers list footer last icon.
This commit is contained in:
parent
c126a1e56e
commit
2846b2f7a5
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ void StickersListFooter::refreshIcons(
|
|||
void StickersListFooter::refreshScrollableDimensions() {
|
||||
const auto &last = iconInfo(_icons.size() - 1);
|
||||
_iconState.max = std::max(
|
||||
last.left + last.width + _iconsRight - width(),
|
||||
last.left + last.width + _iconsLeft + _iconsRight - width(),
|
||||
0);
|
||||
if (_iconState.x.current() > _iconState.max) {
|
||||
_iconState.x = anim::value(_iconState.max, _iconState.max);
|
||||
|
|
Loading…
Add table
Reference in a new issue