Message / Sticker: Fix reduced animation quality

This commit is contained in:
Alexander Zinchuk 2022-11-13 17:05:35 +04:00
parent 97c20eab4b
commit 4b7667ec39

View File

@ -132,7 +132,7 @@ const StickerView: FC<OwnProps> = ({
color={customColor} color={customColor}
noLoop={!shouldLoop} noLoop={!shouldLoop}
forceOnHeavyAnimation={forceOnHeavyAnimation} forceOnHeavyAnimation={forceOnHeavyAnimation}
isLowPriority={!selectIsAlwaysHighPriorityEmoji(getGlobal(), stickerSetInfo)} isLowPriority={isSmall && !selectIsAlwaysHighPriorityEmoji(getGlobal(), stickerSetInfo)}
onLoad={markPlayerReady} onLoad={markPlayerReady}
onLoop={onAnimatedStickerLoop} onLoop={onAnimatedStickerLoop}
onEnded={onAnimatedStickerLoop} onEnded={onAnimatedStickerLoop}