WayVR: WayVRDisplayList ui type, toggle display visibility and pause rendering of them
This commit is contained in:
@@ -43,7 +43,7 @@ use crate::{
|
||||
};
|
||||
|
||||
#[cfg(feature = "wayvr")]
|
||||
use crate::overlays::wayvr::action_wayvr;
|
||||
use crate::overlays::wayvr::wayvr_action;
|
||||
|
||||
pub mod helpers;
|
||||
pub mod input;
|
||||
@@ -266,12 +266,8 @@ pub fn openvr_run(running: Arc<AtomicBool>, show_by_default: bool) -> Result<(),
|
||||
}
|
||||
},
|
||||
#[cfg(feature = "wayvr")]
|
||||
TaskType::WayVR(task) => {
|
||||
if let Some(overlay) =
|
||||
action_wayvr(&task.catalog_name, &task.app_name, &mut state)
|
||||
{
|
||||
overlays.add(overlay);
|
||||
}
|
||||
TaskType::WayVR(action) => {
|
||||
wayvr_action(&mut state, &mut overlays, &action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user