Animated Custom Emoji: Better quality
This commit is contained in:
parent
9f15821d15
commit
f7ed70c832
@ -30,6 +30,7 @@ type OwnProps = {
|
||||
className?: string;
|
||||
loopLimit?: number;
|
||||
style?: string;
|
||||
isBig?: boolean;
|
||||
withGridFix?: boolean;
|
||||
withSharedAnimation?: boolean;
|
||||
sharedCanvasRef?: React.RefObject<HTMLCanvasElement>;
|
||||
@ -48,6 +49,7 @@ const CustomEmoji: FC<OwnProps> = ({
|
||||
ref,
|
||||
documentId,
|
||||
size = STICKER_SIZE,
|
||||
isBig,
|
||||
className,
|
||||
loopLimit,
|
||||
style,
|
||||
@ -143,7 +145,7 @@ const CustomEmoji: FC<OwnProps> = ({
|
||||
<StickerView
|
||||
containerRef={containerRef}
|
||||
sticker={customEmoji}
|
||||
isSmall
|
||||
isSmall={!isBig}
|
||||
size={size}
|
||||
customColor={customColor}
|
||||
thumbClassName={styles.thumb}
|
||||
|
||||
@ -64,6 +64,7 @@ const AnimatedCustomEmoji: FC<OwnProps & StateProps> = ({
|
||||
className={buildClassName('AnimatedEmoji media-inner', sticker?.id === LIKE_STICKER_ID && 'like-sticker-thumb')}
|
||||
style={style}
|
||||
size={size}
|
||||
isBig
|
||||
withSharedAnimation
|
||||
forceOnHeavyAnimation
|
||||
observeIntersectionForLoading={observeIntersection}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user