Skip to content

Commit

Permalink
Rename render UiSystem to RenderUiSystem (#3371)
Browse files Browse the repository at this point in the history
Without this name clash makes it impossible to order relative to the ui extract systems.
  • Loading branch information
TheRawMeatball committed Dec 18, 2021
1 parent 11f52b8 commit b5a0453
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/bevy_ui/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub const UI_SHADER_HANDLE: HandleUntyped =
HandleUntyped::weak_from_u64(Shader::TYPE_UUID, 13012847047162779583);

#[derive(Debug, Hash, PartialEq, Eq, Clone, SystemLabel)]
pub enum UiSystem {
pub enum RenderUiSystem {
ExtractNode,
}

Expand All @@ -78,11 +78,11 @@ pub fn build_ui_render(app: &mut App) {
.add_system_to_stage(RenderStage::Extract, extract_ui_camera_phases)
.add_system_to_stage(
RenderStage::Extract,
extract_uinodes.label(UiSystem::ExtractNode),
extract_uinodes.label(RenderUiSystem::ExtractNode),
)
.add_system_to_stage(
RenderStage::Extract,
extract_text_uinodes.after(UiSystem::ExtractNode),
extract_text_uinodes.after(RenderUiSystem::ExtractNode),
)
.add_system_to_stage(RenderStage::Prepare, prepare_uinodes)
.add_system_to_stage(RenderStage::Queue, queue_uinodes)
Expand Down

0 comments on commit b5a0453

Please sign in to comment.