watch & edit to use theme.xml; device batteries
This commit is contained in:
@@ -237,7 +237,10 @@ pub fn openxr_run(
|
||||
if next_device_update <= Instant::now()
|
||||
&& let Some(monado) = &mut monado
|
||||
{
|
||||
OpenXrInputSource::update_devices(&mut app, monado);
|
||||
let changed = OpenXrInputSource::update_devices(&mut app, monado);
|
||||
if changed {
|
||||
overlays.devices_changed(&mut app)?;
|
||||
}
|
||||
next_device_update = Instant::now() + Duration::from_secs(30);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user