mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
feat(steamframe-gaming): add --vr-only native mode, OpenXR controllers, minimalist VR menu & Gaming Mode launcher
This commit is contained in:
1 parent
0823a9e682
commit
128afc2810
12 files changed
+793
-124
No files matched your search
@@ -3803,11 +3803,20 @@ pub fn run_gpui_app(cfg: AppConfig, log_buffer: Arc<Mutex<LogBuffer>>) -> Result
|
||||
let should_continue = cx
|
||||
.update(|window, cx| {
|
||||
if let Some(view) = weak_view.upgrade() {
|
||||
let mut exit_now = false;
|
||||
view.update(cx, |this, cx| {
|
||||
if this.controls.is_exit_requested() {
|
||||
exit_now = true;
|
||||
return;
|
||||
}
|
||||
if this.sync_from_engine(window) {
|
||||
cx.notify();
|
||||
}
|
||||
});
|
||||
if exit_now {
|
||||
window.remove_window();
|
||||
return false;
|
||||
}
|
||||
true
|
||||
} else {
|
||||
false
|
||||
|
||||
Reference in new issue
Block a user