mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-03 06:38:52 +00:00
chore: format
This commit is contained in:
parent
f651bb1272
commit
1b6f1226e0
2 changed files with 6 additions and 5 deletions
|
@ -30,6 +30,7 @@ pub mod func_runner;
|
||||||
pub mod gpu_profile;
|
pub mod gpu_profile;
|
||||||
pub mod log_level;
|
pub mod log_level;
|
||||||
pub mod log_parser;
|
pub mod log_parser;
|
||||||
|
pub mod monado_utils;
|
||||||
pub mod paths;
|
pub mod paths;
|
||||||
pub mod profile;
|
pub mod profile;
|
||||||
pub mod profiles;
|
pub mod profiles;
|
||||||
|
@ -38,7 +39,6 @@ pub mod runner_pipeline;
|
||||||
pub mod steamvr_utils;
|
pub mod steamvr_utils;
|
||||||
pub mod ui;
|
pub mod ui;
|
||||||
pub mod xr_devices;
|
pub mod xr_devices;
|
||||||
pub mod monado_utils;
|
|
||||||
|
|
||||||
fn restore_steam_xr_files() {
|
fn restore_steam_xr_files() {
|
||||||
let active_runtime = get_current_active_runtime();
|
let active_runtime = get_current_active_runtime();
|
||||||
|
|
|
@ -311,10 +311,11 @@ impl SimpleComponent for App {
|
||||||
self.main_view.sender().emit(MainViewMsg::ClockTicking);
|
self.main_view.sender().emit(MainViewMsg::ClockTicking);
|
||||||
if let Some(w) = self.xrservice_worker.as_ref() {
|
if let Some(w) = self.xrservice_worker.as_ref() {
|
||||||
if w.state.lock().unwrap().exit_status.is_none() {
|
if w.state.lock().unwrap().exit_status.is_none() {
|
||||||
self.xr_devices.merge(XRDevices::from_libmonado(&self.get_selected_profile()));
|
self.xr_devices
|
||||||
self.main_view.sender().emit(MainViewMsg::UpdateDevices(
|
.merge(XRDevices::from_libmonado(&self.get_selected_profile()));
|
||||||
Some(self.xr_devices.clone()),
|
self.main_view
|
||||||
));
|
.sender()
|
||||||
|
.emit(MainViewMsg::UpdateDevices(Some(self.xr_devices.clone())));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue