fix(openxr): Z order

This commit is contained in:
galister
2024-06-06 12:38:38 +09:00
parent 415ef91a43
commit 95855ccea8
10 changed files with 11 additions and 18 deletions

View File

@@ -21,6 +21,7 @@ where
want_visible: false,
interactable: false,
grabbable: false,
z_order: 67,
spawn_scale: config.width,
spawn_point: Vec3A::NEG_Z * 0.5,
..Default::default()

View File

@@ -199,6 +199,7 @@ fn new_toast(toast: Toast, app: &mut AppState) -> Option<(OverlayState, Box<dyn
spawn_scale: size.0 * PIXELS_TO_METERS,
spawn_rotation,
spawn_point,
z_order: 70,
relative_to,
..Default::default()
};

View File

@@ -25,6 +25,7 @@ where
name: WATCH_NAME.into(),
want_visible: true,
interactable: true,
z_order: 68,
spawn_scale: config.width,
spawn_point: state.session.config.watch_pos,
spawn_rotation: state.session.config.watch_rot,