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;
}