mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix desktop notification when set to inside/outside VR
This commit is contained in:
+2
-5
@@ -6710,11 +6710,8 @@ speechSynthesis.getVoices();
|
|||||||
var playDesktopToast = false;
|
var playDesktopToast = false;
|
||||||
if (
|
if (
|
||||||
this.desktopToast === 'Always' ||
|
this.desktopToast === 'Always' ||
|
||||||
(this.desktopToast === 'Outside VR' &&
|
(this.desktopToast === 'Outside VR' && !this.isSteamVRRunning) ||
|
||||||
(this.isGameNoVR || !this.isGameRunning)) ||
|
(this.desktopToast === 'Inside VR' && this.isSteamVRRunning) ||
|
||||||
(this.desktopToast === 'Inside VR' &&
|
|
||||||
!this.isGameNoVR &&
|
|
||||||
this.isGameRunning) ||
|
|
||||||
(this.desktopToast === 'Game Closed' && !this.isGameRunning) ||
|
(this.desktopToast === 'Game Closed' && !this.isGameRunning) ||
|
||||||
(this.desktopToast === 'Game Running' && this.isGameRunning) ||
|
(this.desktopToast === 'Game Running' && this.isGameRunning) ||
|
||||||
(this.desktopToast === 'Desktop Mode' &&
|
(this.desktopToast === 'Desktop Mode' &&
|
||||||
|
|||||||
+2
-1
@@ -232,7 +232,7 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
watch: {},
|
watch: {},
|
||||||
el: '#x-app',
|
el: '#x-app',
|
||||||
mounted() {
|
mounted() {
|
||||||
workerTimers.setTimeout(() => AppApiVr.VrInit(), 1000);
|
workerTimers.setTimeout(() => AppApiVr.VrInit(), 5000);
|
||||||
if (this.appType === '1') {
|
if (this.appType === '1') {
|
||||||
this.refreshCustomScript();
|
this.refreshCustomScript();
|
||||||
this.updateStatsLoop();
|
this.updateStatsLoop();
|
||||||
@@ -442,6 +442,7 @@ Vue.component('marquee-text', MarqueeText);
|
|||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
hour: 'numeric',
|
hour: 'numeric',
|
||||||
minute: 'numeric',
|
minute: 'numeric',
|
||||||
|
second: 'numeric',
|
||||||
hourCycle: this.config.dtHour12 ? 'h12' : 'h23'
|
hourCycle: this.config.dtHour12 ? 'h12' : 'h23'
|
||||||
})
|
})
|
||||||
.replace(' AM', ' am')
|
.replace(' AM', ' am')
|
||||||
|
|||||||
Reference in New Issue
Block a user