Skip to content

Commit

Permalink
rename bevy_ui::node module so that bevy_ui::render::node isn't shado…
Browse files Browse the repository at this point in the history
…wed (bevyengine#1464)

Previously the `mod node` shadowed the `pub use render::node`, and `CAMERA_UI`, `NODE` and `UI_PASS` constants couldn't be used.
  • Loading branch information
jakobhellermann committed Feb 22, 2021
1 parent e76d656 commit e5b0c65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/bevy_ui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ pub mod entity;
mod flex;
mod focus;
mod margins;
mod node;
mod render;
mod ui_node;
pub mod update;
pub mod widget;

pub use anchors::*;
pub use flex::*;
pub use focus::*;
pub use margins::*;
pub use node::*;
pub use render::*;
pub use ui_node::*;

pub mod prelude {
pub use crate::{entity::*, node::*, widget::Button, Anchors, Interaction, Margins};
pub use crate::{entity::*, ui_node::*, widget::Button, Anchors, Interaction, Margins};
}

use bevy_app::prelude::*;
Expand Down
File renamed without changes.

0 comments on commit e5b0c65

Please sign in to comment.