1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-21 19:59:24 -05:00

fix(client): アニメーションをオフに設定しても絵文字のアニメーションが止まらない

Fix 
This commit is contained in:
tamaina 2023-01-25 06:21:08 +00:00
parent 3ba5541a66
commit 5f49ac1b11

View file

@ -33,7 +33,7 @@ const url = computed(() => {
return char2path(char.value);
} else if (props.host == null && !customEmojiName.includes('@')) {
const found = customEmojis.find(x => x.name === customEmojiName);
return found ? found.url : null;
return found ? defaultStore.state.disableShowingAnimatedImages ? getStaticImageUrl(found.url) : found.url : null;
} else {
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
return defaultStore.state.disableShowingAnimatedImages