Skip to content

Commit 0bae5bb

Browse files
Remove dead anchor.rs code (#3551)
# Objective - As noticed by @Sheepyhead in #3526, `anchor.rs` is completely unused. ## Solution - Anchors away!
1 parent 36390a8 commit 0bae5bb

File tree

2 files changed

+1
-49
lines changed

2 files changed

+1
-49
lines changed

crates/bevy_ui/src/anchors.rs

Lines changed: 0 additions & 46 deletions
This file was deleted.

crates/bevy_ui/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
mod anchors;
21
mod flex;
32
mod focus;
43
mod margins;
@@ -9,7 +8,6 @@ pub mod entity;
98
pub mod update;
109
pub mod widget;
1110

12-
pub use anchors::*;
1311
pub use flex::*;
1412
pub use focus::*;
1513
pub use margins::*;
@@ -18,7 +16,7 @@ pub use ui_node::*;
1816

1917
pub mod prelude {
2018
#[doc(hidden)]
21-
pub use crate::{entity::*, ui_node::*, widget::Button, Anchors, Interaction, Margins};
19+
pub use crate::{entity::*, ui_node::*, widget::Button, Interaction, Margins};
2220
}
2321

2422
use bevy_app::prelude::*;

0 commit comments

Comments
 (0)