mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-05 06:16:05 +02:00
Fix instance info disabled content settings & VR overlay warning
This commit is contained in:
+6
-5
@@ -1195,13 +1195,14 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
}
|
}
|
||||||
ref.$disabledContentSettings = [];
|
ref.$disabledContentSettings = [];
|
||||||
if (json.contentSettings && Object.keys(json.contentSettings).length) {
|
if (json.contentSettings && Object.keys(json.contentSettings).length) {
|
||||||
for (var setting in $app.instanceContentSettings) {
|
for (var setting of $app.instanceContentSettings) {
|
||||||
if (json.contentSettings[setting]) {
|
if (
|
||||||
|
typeof json.contentSettings[setting] === 'undefined' ||
|
||||||
|
json.contentSettings[setting] === true
|
||||||
|
) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
ref.$disabledContentSettings.push(
|
ref.$disabledContentSettings.push(setting);
|
||||||
$app.instanceContentSettings[setting]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ref;
|
return ref;
|
||||||
|
|||||||
@@ -324,7 +324,7 @@
|
|||||||
"minimized": "Start minimized",
|
"minimized": "Start minimized",
|
||||||
"tray": "Minimize to tray when closing",
|
"tray": "Minimize to tray when closing",
|
||||||
"disable_gpu_acceleration": "Disable GPU Acceleration",
|
"disable_gpu_acceleration": "Disable GPU Acceleration",
|
||||||
"disable_gpu_acceleration_tooltip": "Only change this option if you know what you're doing, breaks SteamVR overlay, may fix issues with UI, requires restarting VRCX",
|
"disable_gpu_acceleration_tooltip": "Only change this option if you know what you're doing, may fix issues with UI, requires restarting VRCX",
|
||||||
"disable_vr_overlay_gpu_acceleration": "Disable VR Overlay GPU Acceleration",
|
"disable_vr_overlay_gpu_acceleration": "Disable VR Overlay GPU Acceleration",
|
||||||
"disable_vr_overlay_gpu_acceleration_tooltip": "VR Overlay GPU acceleration can cause VRCX to crash or cause VRAM memory leaks, requires restarting VRCX",
|
"disable_vr_overlay_gpu_acceleration_tooltip": "VR Overlay GPU acceleration can cause VRCX to crash or cause VRAM memory leaks, requires restarting VRCX",
|
||||||
"proxy": "Proxy settings"
|
"proxy": "Proxy settings"
|
||||||
|
|||||||
Reference in New Issue
Block a user