chore(examples): cargo fmt & co

This commit is contained in:
kaosat.dev 2024-03-04 15:17:46 +01:00
parent 68bb7ed4cc
commit d00ac48642
8 changed files with 39 additions and 25 deletions

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(

View File

@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu};
pub fn setup_main_menu(mut commands: Commands) {
commands.spawn((
Camera2dBundle{
Camera2dBundle {
camera: Camera {
order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28
..default()
},
..Default::default()
}, InMainMenu));
..Default::default()
},
InMainMenu,
));
commands.spawn((
TextBundle::from_section(