Animated Sticker: Fix freeze on render

This commit is contained in:
Alexander Zinchuk 2021-09-25 12:36:09 +03:00
parent f7e46b6305
commit b3beaca5fc

View File

@ -170,7 +170,7 @@ const AnimatedSticker: FC<OwnProps> = ({
if (play || playSegment) {
if (isFrozen.current) {
wasPlaying.current = true;
} else if (!animation.isPlaying()) {
} else {
playAnimation(noLoop);
}
} else {