OpenXR - Better dialog support

This commit is contained in:
Lubos committed 2022-11-17 15:25:35 +01:00
1 parent 319d434acc
commit f92990a002
3 files changed
+12 -5

No files matched your search

+5 -1
View File
@@ -1477,7 +1477,11 @@ void EmuScreen::render() {
renderUI();
}
SetVRAppMode(VRAppMode::VR_GAME_MODE);
if (chatMenu_ && (chatMenu_->GetVisibility() == UI::V_VISIBLE)) {
SetVRAppMode(VRAppMode::VR_DIALOG_MODE);
} else {
SetVRAppMode(screenManager()->topScreen() == this ? VRAppMode::VR_GAME_MODE : VRAppMode::VR_DIALOG_MODE);
}
}
bool EmuScreen::hasVisibleUI() {