Skip to content

Commit f531a94

Browse files
author
KDecay
committed
Remove redundant Size import (#5339)
# Objective - Fixes #5338 - Allow the usage of `use bevy::ui::Size` (see migration guide in #4285) ## Solution - Remove the `use crate::Size` import so that the `pub use geometry::*` import also publicly uses the `Size` struct.
1 parent 25d222b commit f531a94

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/bevy_ui/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ pub mod prelude {
2525
pub use crate::{entity::*, geometry::*, ui_node::*, widget::Button, Interaction};
2626
}
2727

28-
use crate::Size;
2928
use bevy_app::prelude::*;
3029
use bevy_ecs::schedule::{ParallelSystemDescriptorCoercion, SystemLabel};
3130
use bevy_input::InputSystem;

0 commit comments

Comments
 (0)