Desktop toast add back Desktop Mode/Outside VR

This commit is contained in:
Natsumi
2022-03-18 09:08:01 +13:00
parent 98c65779c7
commit 7a795843e8
2 changed files with 6 additions and 4 deletions
+4 -4
View File
@@ -4890,11 +4890,11 @@ speechSynthesis.getVoices();
var playDesktopToast = false; var playDesktopToast = false;
if ( if (
this.desktopToast === 'Always' || this.desktopToast === 'Always' ||
(this.desktopToast === 'Inside VR' && (this.desktopToast === 'Outside VR' && (this.isGameNoVR || !this.isGameRunning)) ||
!this.isGameNoVR && (this.desktopToast === 'Inside VR' && !this.isGameNoVR && this.isGameRunning) ||
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.isGameNoVR && this.isGameRunning)
) { ) {
playDesktopToast = true; playDesktopToast = true;
} }
+2
View File
@@ -1091,7 +1091,9 @@ html
br br
el-radio-group(v-model="desktopToast" @change="saveOpenVROption" size="mini") el-radio-group(v-model="desktopToast" @change="saveOpenVROption" size="mini")
el-radio-button(label="Never") el-radio-button(label="Never")
el-radio-button(label="Desktop Mode")
el-radio-button(label="Inside VR") el-radio-button(label="Inside VR")
el-radio-button(label="Outside VR")
el-radio-button(label="Game Closed") el-radio-button(label="Game Closed")
el-radio-button(label="Game Running") el-radio-button(label="Game Running")
el-radio-button(label="Always") el-radio-button(label="Always")