mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 09:13:50 +02:00
Fix animated emoji in notifications tab
This commit is contained in:
@@ -150,24 +150,8 @@
|
||||
image.versions[image.versions.length - 1].file.url
|
||||
"
|
||||
class="x-popover-image"
|
||||
style="overflow: hidden; width: 100px; height: 100px; padding: 8px">
|
||||
<div
|
||||
v-if="image.frames"
|
||||
class="avatar"
|
||||
:style="
|
||||
generateEmojiStyle(
|
||||
image.versions[image.versions.length - 1].file.url,
|
||||
image.framesOverTime,
|
||||
image.frames,
|
||||
image.loopStyle,
|
||||
100
|
||||
)
|
||||
"></div>
|
||||
<img
|
||||
v-else
|
||||
:src="image.versions[image.versions.length - 1].file.url"
|
||||
class="avatar"
|
||||
style="width: 100px; height: 100px" />
|
||||
style="padding: 8px">
|
||||
<Emoji :imageUrl="image.versions[image.versions.length - 1].file.url" :size="100"></Emoji>
|
||||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
@@ -194,7 +178,7 @@
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { generateEmojiStyle, userImage, userStatusClass } from '../../shared/utils';
|
||||
import { userImage, userStatusClass } from '../../shared/utils';
|
||||
import { miscRequest } from '../../api';
|
||||
import { notificationRequest } from '../../api';
|
||||
import { photonEmojis } from '../../shared/constants/photon.js';
|
||||
@@ -204,6 +188,8 @@
|
||||
import { useNotificationStore } from '../../stores';
|
||||
import { useUserStore } from '../../stores/user.js';
|
||||
|
||||
import Emoji from '../Emoji.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const { sendBoopDialog } = storeToRefs(useUserStore());
|
||||
|
||||
Reference in New Issue
Block a user