rename bevy_ui::node module so that bevy_ui::render::node isn't shadowed (#1464)
Previously the `mod node` shadowed the `pub use render::node`, and `CAMERA_UI`, `NODE` and `UI_PASS` constants couldn't be used.
This commit is contained in:
parent
e76d6566d7
commit
e5b0c65c86
@ -3,8 +3,8 @@ pub mod entity;
|
||||
mod flex;
|
||||
mod focus;
|
||||
mod margins;
|
||||
mod node;
|
||||
mod render;
|
||||
mod ui_node;
|
||||
pub mod update;
|
||||
pub mod widget;
|
||||
|
||||
@ -12,11 +12,11 @@ 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::*;
|
||||
|
Loading…
Reference in New Issue
Block a user