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
4172c351e1
commit
bfa1b32772
3 changed files with 5 additions and 6 deletions
|
@ -351,9 +351,7 @@ impl SimpleComponent for App {
|
||||||
self.xr_devices = XRDevice::merge(&self.xr_devices, &n_devs);
|
self.xr_devices = XRDevice::merge(&self.xr_devices, &n_devs);
|
||||||
self.main_view
|
self.main_view
|
||||||
.sender()
|
.sender()
|
||||||
.emit(MainViewMsg::UpdateDevices(
|
.emit(MainViewMsg::UpdateDevices(self.xr_devices.clone()));
|
||||||
self.xr_devices.clone(),
|
|
||||||
));
|
|
||||||
} else if let Some(tracker) =
|
} else if let Some(tracker) =
|
||||||
XRDevice::generic_tracker_from_log_row(parsed.message.as_str())
|
XRDevice::generic_tracker_from_log_row(parsed.message.as_str())
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
use std::env;
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
use std::env;
|
||||||
|
|
||||||
fn get_ff_libmonado_device_enumeration_enabled() -> bool {
|
fn get_ff_libmonado_device_enumeration_enabled() -> bool {
|
||||||
env::var("ENVISION_FF_USE_LIBMONADO").unwrap_or_default() == "1"
|
env::var("ENVISION_FF_USE_LIBMONADO").unwrap_or_default() == "1"
|
||||||
}
|
}
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
pub static ref FF_LIBMONADO_DEVICE_ENUMERATION_ENABLED: bool = get_ff_libmonado_device_enumeration_enabled();
|
pub static ref FF_LIBMONADO_DEVICE_ENUMERATION_ENABLED: bool =
|
||||||
|
get_ff_libmonado_device_enumeration_enabled();
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@ pub mod debug_view;
|
||||||
pub mod devices_box;
|
pub mod devices_box;
|
||||||
pub mod factories;
|
pub mod factories;
|
||||||
pub mod fbt_config_editor;
|
pub mod fbt_config_editor;
|
||||||
|
pub mod feature_flags;
|
||||||
pub mod install_wivrn_box;
|
pub mod install_wivrn_box;
|
||||||
pub mod job_worker;
|
pub mod job_worker;
|
||||||
pub mod libsurvive_setup_window;
|
pub mod libsurvive_setup_window;
|
||||||
|
@ -16,4 +17,3 @@ pub mod profile_editor;
|
||||||
pub mod steam_launch_options_box;
|
pub mod steam_launch_options_box;
|
||||||
pub mod util;
|
pub mod util;
|
||||||
pub mod wivrn_conf_editor;
|
pub mod wivrn_conf_editor;
|
||||||
pub mod feature_flags;
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue