Move avatar size & sticker fixes

This commit is contained in:
Natsumi
2024-09-23 19:42:32 +12:00
parent dd67b9113a
commit 5125d64b94
3 changed files with 13 additions and 13 deletions
+7 -7
View File
@@ -5262,6 +5262,10 @@ speechSynthesis.getVoices();
if ($app.galleryDialogVisible) { if ($app.galleryDialogVisible) {
$app.refreshEmojiTable(); $app.refreshEmojiTable();
} }
} else if (contentType === 'sticker') {
if ($app.galleryDialogVisible) {
$app.refreshStickerTable();
}
} else if (contentType === 'avatar') { } else if (contentType === 'avatar') {
// hmm, utilizing this might be too spamy and cause UI to move around // hmm, utilizing this might be too spamy and cause UI to move around
} else if (contentType === 'world') { } else if (contentType === 'world') {
@@ -19098,12 +19102,8 @@ speechSynthesis.getVoices();
D.avatarScalingDisabled = ref.tags?.includes( D.avatarScalingDisabled = ref.tags?.includes(
'feature_avatar_scaling_disabled' 'feature_avatar_scaling_disabled'
); );
D.focusViewDisabled = ref.tags?.includes( D.focusViewDisabled = ref.tags?.includes('feature_focus_view_disabled');
'feature_focus_view_disabled' D.stickersDisabled = ref.tags?.includes('feature_stickers_disabled');
);
D.stickersDisabled = ref.tags?.includes(
'feature_stickers_disabled'
);
$app.applyWorldDialogInstances(); $app.applyWorldDialogInstances();
for (var room of D.rooms) { for (var room of D.rooms) {
if ($app.isRealInstance(room.tag)) { if ($app.isRealInstance(room.tag)) {
@@ -25583,7 +25583,6 @@ speechSynthesis.getVoices();
} }
}); });
// #endregion
// #endregion // #endregion
// #region | Sticker // #region | Sticker
API.$on('LOGIN', function () { API.$on('LOGIN', function () {
@@ -25694,6 +25693,7 @@ speechSynthesis.getVoices();
$app.stickerTable.unshift(args.json); $app.stickerTable.unshift(args.json);
} }
}); });
// #endregion // #endregion
// #region | Emoji // #region | Emoji
+4 -4
View File
@@ -871,13 +871,13 @@ html
el-tag.x-tag-platform-ios(v-if="avatarDialog.isIos" type="info" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") iOS el-tag.x-tag-platform-ios(v-if="avatarDialog.isIos" type="info" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") iOS
span.x-grey(v-if="avatarDialog.platformInfo.ios" style=";margin-left:5px;border-left:inherit;padding-left:5px") {{ avatarDialog.platformInfo.ios.performanceRating }} span.x-grey(v-if="avatarDialog.platformInfo.ios" style=";margin-left:5px;border-left:inherit;padding-left:5px") {{ avatarDialog.platformInfo.ios.performanceRating }}
span.x-grey(v-if="avatarDialog.bundleSizes['ios']" style="margin-left:5px;border-left:inherit;padding-left:5px") {{ avatarDialog.bundleSizes['ios'].fileSize }} span.x-grey(v-if="avatarDialog.bundleSizes['ios']" style="margin-left:5px;border-left:inherit;padding-left:5px") {{ avatarDialog.bundleSizes['ios'].fileSize }}
el-tag(v-if="avatarDialog.isQuestFallback" type="info" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") {{ $t('dialog.avatar.tags.fallback') }}
el-tag(v-if="avatarDialog.hasImposter" type="info" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") {{ $t('dialog.avatar.tags.impostor') }}
span.x-grey(v-if="avatarDialog.imposterVersion" style="margin-left:5px;border-left:inherit;padding-left:5px") V{{ avatarDialog.imposterVersion }}
el-tag(v-if="avatarDialog.ref.unityPackageUrl" type="success" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") {{ $t('dialog.avatar.tags.future_proofing') }}
el-tag.x-link(v-if="avatarDialog.inCache" type="info" effect="plain" size="mini" @click="openFolderGeneric(avatarDialog.cachePath)" style="margin-right:5px;margin-top:5px") el-tag.x-link(v-if="avatarDialog.inCache" type="info" effect="plain" size="mini" @click="openFolderGeneric(avatarDialog.cachePath)" style="margin-right:5px;margin-top:5px")
span(v-text="avatarDialog.cacheSize") span(v-text="avatarDialog.cacheSize")
| {{ $t('dialog.avatar.tags.cache') }} | {{ $t('dialog.avatar.tags.cache') }}
el-tag(v-if="avatarDialog.isQuestFallback" type="info" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") {{ $t('dialog.avatar.tags.fallback') }}
el-tag(v-if="avatarDialog.hasImposter" type="info" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") {{ $t('dialog.avatar.tags.impostor') }}
span.x-grey(v-if="avatarDialog.imposterVersion" style="margin-left:5px;border-left:inherit;padding-left:5px") v{{ avatarDialog.imposterVersion }}
el-tag(v-if="avatarDialog.ref.unityPackageUrl" type="success" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") {{ $t('dialog.avatar.tags.future_proofing') }}
div div
template(v-for="tag in avatarDialog.ref.tags") template(v-for="tag in avatarDialog.ref.tags")
el-tag(v-if="tag.startsWith('content_')" :key="tag" effect="plain" size="mini" style="margin-right:5px;margin-top:5px") el-tag(v-if="tag.startsWith('content_')" :key="tag" effect="plain" size="mini" style="margin-right:5px;margin-top:5px")
+2 -2
View File
@@ -567,7 +567,7 @@
"request_invite_with_message": "Request Invite With Message", "request_invite_with_message": "Request Invite With Message",
"invite_to_group": "Invite To Group", "invite_to_group": "Invite To Group",
"send_boop": "Send Boop", "send_boop": "Send Boop",
"manage_gallery_icon": "Manage Photos/Icons/Emojis", "manage_gallery_icon": "Manage VRC+ Images",
"accept_friend_request": "Accept Friend Request", "accept_friend_request": "Accept Friend Request",
"decline_friend_request": "Decline Friend Request", "decline_friend_request": "Decline Friend Request",
"cancel_friend_request": "Cancel Friend Request", "cancel_friend_request": "Cancel Friend Request",
@@ -1247,7 +1247,7 @@
"send": "Send" "send": "Send"
}, },
"gallery_icons": { "gallery_icons": {
"header": "Photos, Icons, Emojis and Stickers", "header": "Manage Photos, Icons, Emojis and Stickers",
"description": "Recommended image size: 1200x900px (4:3)", "description": "Recommended image size: 1200x900px (4:3)",
"gallery": "Photos", "gallery": "Photos",
"icons": "Icons", "icons": "Icons",