Animated Sticker: Fix freeze on render
This commit is contained in:
parent
f7e46b6305
commit
b3beaca5fc
@ -170,7 +170,7 @@ const AnimatedSticker: FC<OwnProps> = ({
|
|||||||
if (play || playSegment) {
|
if (play || playSegment) {
|
||||||
if (isFrozen.current) {
|
if (isFrozen.current) {
|
||||||
wasPlaying.current = true;
|
wasPlaying.current = true;
|
||||||
} else if (!animation.isPlaying()) {
|
} else {
|
||||||
playAnimation(noLoop);
|
playAnimation(noLoop);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user