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

View File

@@ -4890,11 +4890,11 @@ speechSynthesis.getVoices();
var playDesktopToast = false;
if (
this.desktopToast === 'Always' ||
(this.desktopToast === 'Inside VR' &&
!this.isGameNoVR &&
this.isGameRunning) ||
(this.desktopToast === 'Outside VR' && (this.isGameNoVR || !this.isGameRunning)) ||
(this.desktopToast === 'Inside VR' && !this.isGameNoVR && 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;
}

View File

@@ -1091,7 +1091,9 @@ html
br
el-radio-group(v-model="desktopToast" @change="saveOpenVROption" size="mini")
el-radio-button(label="Never")
el-radio-button(label="Desktop Mode")
el-radio-button(label="Inside VR")
el-radio-button(label="Outside VR")
el-radio-button(label="Game Closed")
el-radio-button(label="Game Running")
el-radio-button(label="Always")