Skip to content

Commit

Permalink
Merge pull request #56 from waywardmonkeys/fix-standard-spelling
Browse files Browse the repository at this point in the history
Spelling: `standard`.
  • Loading branch information
rewin123 authored Nov 10, 2023
2 parents 1a29b29 + 300ce55 commit 6269786
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/editor/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ use super::{
pub struct UiSystemSet;

pub struct EditorUiPlugin {
pub use_standart_layout: bool,
pub use_standard_layout: bool,
}

impl Default for EditorUiPlugin {
fn default() -> Self {
Self {
use_standart_layout: true,
use_standard_layout: true,
}
}
}
Expand Down Expand Up @@ -100,7 +100,7 @@ impl Plugin for EditorUiPlugin {

app.add_plugins(settings::SettingsWindowPlugin);

if self.use_standart_layout {
if self.use_standard_layout {
let mut editor = app.world.resource_mut::<EditorUi>();
editor.tree = egui_dock::DockState::new(vec![EditorTabName::GameView]);

Expand Down
2 changes: 1 addition & 1 deletion src/prefab/spawn_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn sync_mesh(
}
}

/// System to sync StandartMaterial and MaterialPrefab
/// System to sync StandardMaterial and MaterialPrefab
pub fn sync_material(
mut commands: Commands,
query: Query<(Entity, &MaterialPrefab), Changed<MaterialPrefab>>,
Expand Down

0 comments on commit 6269786

Please sign in to comment.