Bug fixes

This commit is contained in:
Natsumi
2025-04-18 22:29:54 +10:00
parent ef7f33e131
commit c17b6f2f3a
7 changed files with 26 additions and 12 deletions

View File

@@ -10,7 +10,10 @@
@close="closeDialog">
<div style="font-size: 12px">
{{ t('dialog.launch_options.description') }} <br />
{{ t('dialog.launch_options.example') }} <el-tag size="mini">--fps=144</el-tag>
{{ t('dialog.launch_options.example') }}
<el-tag size="mini"
>--fps=144 --enable-debug-gui --enable-sdk-log-levels --enable-udon-debug-logging
</el-tag>
</div>
<el-input
@@ -30,7 +33,7 @@
<el-input
v-model="launchOptionsDialog.vrcLaunchPathOverride"
type="textarea"
placeholder="C:\\Program Files (x86)\\Steam\\steamapps\\common\\VRChat"
placeholder="C:\Program Files (x86)\Steam\steamapps\common\VRChat"
:rows="1"
style="display: block; margin-top: 10px">
</el-input>
@@ -71,6 +74,7 @@
defineProps({
isLaunchOptionsDialogVisible: {
type: Boolean,
default: false,
required: true
}
});

View File

@@ -10,7 +10,7 @@
@mouseup.native="dialogMouseUp">
<div v-once style="height: 350px; overflow: hidden scroll; word-break: break-all">
<div>
<span>{{ t('dialog.open_source.description') }} }}</span>
<span>{{ t('dialog.open_source.description') }}</span>
</div>
<div v-for="lib in openSourceSoftwareLicenses" :key="lib.name" style="margin-top: 15px">

View File

@@ -98,7 +98,6 @@
v-if="screenshotMetadataDialog.metadata.world"
:location="screenshotMetadataDialog.metadata.world.instanceId"
:hint="screenshotMetadataDialog.metadata.world.name" />
<br />
<display-name
v-if="screenshotMetadataDialog.metadata.author"
:userid="screenshotMetadataDialog.metadata.author.id"
@@ -160,7 +159,6 @@
style="margin-left: 5px; color: #909399; font-family: monospace"
v-text="'(' + user.pos.x + ', ' + user.pos.y + ', ' + user.pos.z + ')'"></span>
<br />
<br />
</span>
</div>
</el-dialog>

View File

@@ -157,10 +157,14 @@
<el-checkbox
v-model="VRChatConfigFile.picture_output_split_by_date"
@change="refreshDialogValues"
style="margin-top: 5px; display: block">
{{ t('dialog.config_json.picture_sort_by_date') }}
</el-checkbox>
<el-checkbox v-model="VRChatConfigFile.disableRichPresence" style="margin-top: 5px; display: block">
<el-checkbox
v-model="VRChatConfigFile.disableRichPresence"
@change="refreshDialogValues"
style="margin-top: 5px; display: block">
{{ t('dialog.config_json.disable_discord_presence') }}
</el-checkbox>
</div>
@@ -330,19 +334,27 @@
}
}
function refreshDialogValues() {
loading.value = true;
loading.value = false;
}
function setVRChatSpoutResolution(res) {
VRChatConfigFile.value.camera_spout_res_height = res.height;
VRChatConfigFile.value.camera_spout_res_width = res.width;
refreshDialogValues();
}
function setVRChatCameraResolution(res) {
VRChatConfigFile.value.camera_res_height = res.height;
VRChatConfigFile.value.camera_res_width = res.width;
refreshDialogValues();
}
function setVRChatScreenshotResolution(res) {
VRChatConfigFile.value.screenshot_res_height = res.height;
VRChatConfigFile.value.screenshot_res_width = res.width;
refreshDialogValues();
}
function getVRChatCameraResolution() {
@@ -398,9 +410,6 @@
if (config) {
try {
const parsedConfig = JSON.parse(config);
if (parsedConfig.picture_output_split_by_date === undefined) {
parsedConfig.picture_output_split_by_date = true;
}
VRChatConfigFile.value = { ...VRChatConfigFile.value, ...parsedConfig };
} catch {
$message({
@@ -410,6 +419,9 @@
throw new Error('Invalid JSON in config.json');
}
}
if (typeof VRChatConfigFile.value.picture_output_split_by_date === 'undefined') {
VRChatConfigFile.value.picture_output_split_by_date = true;
}
}
function closeDialog() {