Skip to content

Commit

Permalink
fix camera -> ui ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Aug 17, 2024
1 parent 547894e commit 5c8e3f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ use bevy_app::prelude::*;
use bevy_ecs::prelude::*;
use bevy_input::InputSystem;
use bevy_render::{
view::{check_visibility, VisibilitySystems},
RenderApp,
camera::CameraUpdateSystem, view::{check_visibility, VisibilitySystems}, RenderApp
};
use bevy_transform::TransformSystem;
use layout::ui_surface::UiSurface;
Expand Down Expand Up @@ -143,6 +142,7 @@ impl Plugin for UiPlugin {
.after(update_target_camera_system)
.before(UiSystem::Layout),
ui_layout_system
.after(CameraUpdateSystem)
.in_set(UiSystem::Layout)
.before(TransformSystem::TransformPropagate),
resolve_outlines_system
Expand Down

0 comments on commit 5c8e3f2

Please sign in to comment.