mirror of https://github.com/wayvr-org/wayvr.git
cargo fmt
This commit is contained in:
parent
48a316e90b
commit
ac09483bfb
|
|
@ -1,6 +1,6 @@
|
|||
use crate::tab::settings::{
|
||||
macros::{options_category, options_checkbox, options_range_f32, options_slider_f32},
|
||||
SettingType, SettingsMountParams, SettingsTab,
|
||||
macros::{options_category, options_checkbox, options_range_f32, options_slider_f32},
|
||||
};
|
||||
|
||||
pub struct State {}
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@ pub fn openxr_run(
|
|||
|
||||
//FIXME: Temporary workaround for Monado bug
|
||||
let watch = overlays.mut_by_id(watch_id).unwrap(); // want panic
|
||||
|
||||
|
||||
if let Some(state) = watch.config.active_state.as_mut() {
|
||||
state.transform = watch_transform
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@ use wlx_common::{
|
|||
};
|
||||
|
||||
use crate::{
|
||||
FRAME_COUNTER, backend::task::{OverlayTask, ToggleMode}, config::save_state, overlays::{
|
||||
FRAME_COUNTER,
|
||||
backend::task::{OverlayTask, ToggleMode},
|
||||
config::save_state,
|
||||
overlays::{
|
||||
anchor::{create_anchor, create_grab_help},
|
||||
custom::create_custom,
|
||||
dashboard::{DASH_NAME, create_dash_frontend},
|
||||
|
|
@ -24,13 +27,15 @@ use crate::{
|
|||
screen::create_screens,
|
||||
toast::Toast,
|
||||
watch::{WATCH_NAME, create_watch},
|
||||
}, state::AppState, windowing::{
|
||||
},
|
||||
state::AppState,
|
||||
windowing::{
|
||||
OverlayID, OverlaySelector,
|
||||
backend::{OverlayEventData, OverlayMeta},
|
||||
set::OverlayWindowSet,
|
||||
snap_upright,
|
||||
window::{OverlayCategory, OverlayWindowData},
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
pub const MAX_OVERLAY_SETS: usize = 6;
|
||||
|
|
|
|||
Loading…
Reference in New Issue