Fix overlay fps, add capacity hard cap

This commit is contained in:
Natsumi
2021-11-12 12:15:38 +13:00
parent e80102dd03
commit c3fd45e58f
4 changed files with 22 additions and 18 deletions

View File

@@ -9986,9 +9986,14 @@ speechSynthesis.getVoices();
isSteamVRRunning &&
(isGameRunning || this.openVRAlways)
) {
AppApi.StartVR();
var hmdOverlay = false;
if (this.overlayNotifications || this.progressPie) {
hmdOverlay = true;
}
// active, hmdOverlay, wristOverlay
AppApi.SetVR(true, hmdOverlay, this.overlayWrist);
} else {
AppApi.StopVR();
AppApi.SetVR(false, false, false);
}
};