Fix emoji & sticker count, fix delete/open cached world/avatar, default enable memos

This commit is contained in:
Natsumi
2025-06-12 08:54:19 +12:00
parent 766a6d2733
commit eabf514f2c
3 changed files with 19 additions and 11 deletions

View File

@@ -364,7 +364,9 @@ console.log(`isLinux: ${LINUX}`);
getAvatarGallery: this.getAvatarGallery,
inviteImageUpload: this.inviteImageUpload,
clearInviteImageUpload: this.clearInviteImageUpload,
isLinux: this.isLinux
isLinux: this.isLinux,
openFolderGeneric: this.openFolderGeneric,
deleteVRChatCache: this.deleteVRChatCache
};
},
el: '#root',
@@ -6277,7 +6279,7 @@ console.log(`isLinux: ${LINUX}`);
);
$app.data.hideUserMemos = await configRepository.getBool(
'VRCX_hideUserMemos',
true
false
);
$app.data.hideUnfriends = await configRepository.getBool(
'VRCX_hideUnfriends',

View File

@@ -149,7 +149,9 @@
<el-tab-pane v-loading="galleryDialogEmojisLoading" lazy>
<span slot="label">
{{ t('dialog.gallery_icons.emojis') }}
<span style="color: #909399; font-size: 12px; margin-left: 5px"> {{ emojiTable.length }}/9 </span>
<span style="color: #909399; font-size: 12px; margin-left: 5px">
{{ emojiTable.length }}/{{ API.cachedConfig?.maxUserEmoji }}
</span>
</span>
<input
id="EmojiUploadButton"
@@ -289,7 +291,9 @@
<el-tab-pane v-loading="galleryDialogStickersLoading" lazy>
<span slot="label">
{{ t('dialog.gallery_icons.stickers') }}
<span style="color: #909399; font-size: 12px; margin-left: 5px"> {{ stickerTable.length }}/9 </span>
<span style="color: #909399; font-size: 12px; margin-left: 5px">
{{ stickerTable.length }}/{{ API.cachedConfig?.maxUserStickers }}
</span>
</span>
<input
id="StickerUploadButton"

View File

@@ -139,7 +139,7 @@
effect="plain"
size="mini"
style="margin-right: 5px; margin-top: 5px"
@click="openFolderGeneric(worldDialog.cachePath)">
@click="openFolder(worldDialog.cachePath)">
<span v-text="worldDialog.cacheSize" />
| {{ $t('dialog.world.tags.cache') }}
</el-tag>
@@ -191,7 +191,7 @@
icon="el-icon-delete"
circle
:disabled="isGameRunning && worldDialog.cacheLocked"
@click="deleteVRChatCache(worldDialog.ref)" />
@click="deleteWorldFromCache(worldDialog.ref)" />
</el-tooltip>
<el-tooltip
placement="top"
@@ -811,7 +811,9 @@
'showFullscreenImageDialog',
'showWorldDialog',
'showFavoriteDialog',
'openExternalLink'
'openExternalLink',
'openFolderGeneric',
'deleteVRChatCache'
],
props: {
worldDialog: Object,
@@ -983,11 +985,11 @@
this.newInstanceDialogLocationTag = '';
this.$nextTick(() => (this.newInstanceDialogLocationTag = tag));
},
openFolderGeneric(path) {
this.$emit('open-folder-generic', path);
openFolder(path) {
this.openFolderGeneric(path);
},
deleteVRChatCache(world) {
this.$emit('delete-vrchat-cache', world);
deleteWorldFromCache(world) {
this.deleteVRChatCache(world);
},
worldDialogCommand(command) {
const D = this.worldDialog;