auto-hide watch

This commit is contained in:
galister
2024-02-06 21:25:38 +01:00
parent 041dc44a58
commit c1841243ce
5 changed files with 43 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ use crate::{
osc::OscSender,
},
graphics::WlxGraphics,
overlays::watch::watch_fade,
state::AppState,
};
@@ -179,6 +180,7 @@ pub fn openvr_run(running: Arc<AtomicBool>) -> Result<(), BackendError> {
.iter_mut()
.for_each(|o| o.state.auto_movement(&mut state));
watch_fade(&mut state, &mut overlays);
space_mover.update(&mut chaperone_mgr, &mut overlays, &state);
let lengths_haptics = interact(&mut overlays, &mut state);