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}
noLoop={!shouldLoop}
forceOnHeavyAnimation={forceOnHeavyAnimation}
isLowPriority={!selectIsAlwaysHighPriorityEmoji(getGlobal(), stickerSetInfo)}
isLowPriority={isSmall && !selectIsAlwaysHighPriorityEmoji(getGlobal(), stickerSetInfo)}
onLoad={markPlayerReady}
onLoop={onAnimatedStickerLoop}
onEnded={onAnimatedStickerLoop}