auto-hide watch
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user