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

@@ -18,6 +18,7 @@ use crate::{
osc::OscSender,
},
graphics::WlxGraphics,
overlays::watch::watch_fade,
state::AppState,
};
@@ -210,6 +211,8 @@ pub fn openxr_run(running: Arc<AtomicBool>) -> Result<(), BackendError> {
}
}
watch_fade(&mut app_state, &mut overlays);
overlays
.iter_mut()
.for_each(|o| o.after_input(&mut app_state));