From 1cbf5529448d6a9030a6e58a719c8e4256c98209 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Tue, 9 Nov 2021 21:21:37 +0300 Subject: [PATCH] Sticker Button: Remove shadow preview when playing --- src/components/common/StickerButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/StickerButton.tsx b/src/components/common/StickerButton.tsx index 40313dcad..6226de9d5 100644 --- a/src/components/common/StickerButton.tsx +++ b/src/components/common/StickerButton.tsx @@ -83,7 +83,7 @@ const StickerButton: FC = ({ className, ); - const style = thumbDataUri ? `background-image: url('${thumbDataUri}');` : ''; + const style = thumbDataUri && !canAnimatedPlay ? `background-image: url('${thumbDataUri}');` : ''; return (