Fixed animation updating with small width for choosing sticker.

This commit is contained in:
23rd 2021-09-03 18:38:40 +03:00 committed by John Preston
parent 613f2ba708
commit dabe83bd27

View file

@ -373,8 +373,8 @@ bool SendActionPainter::updateNeedsAnimating(crl::time now, bool force) {
|| (sendActionResult && !anim::Disabled())) { || (sendActionResult && !anim::Disabled())) {
_history->peer->owner().sendActionManager().updateAnimation({ _history->peer->owner().sendActionManager().updateAnimation({
_history, _history,
_animationLeft, 0,
_sendActionAnimation.width(), _sendActionAnimation.width() + _animationLeft,
st::normalFont->height, st::normalFont->height,
(force || sendActionChanged) (force || sendActionChanged)
}); });