Skip to content

Commit

Permalink
Remove redundant Size import (#5339)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
KDecay committed Jul 16, 2022
1 parent 25d222b commit f531a94
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/bevy_ui/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pub mod prelude {
pub use crate::{entity::*, geometry::*, ui_node::*, widget::Button, Interaction};
}

use crate::Size;
use bevy_app::prelude::*;
use bevy_ecs::schedule::{ParallelSystemDescriptorCoercion, SystemLabel};
use bevy_input::InputSystem;
Expand Down

0 comments on commit f531a94

Please sign in to comment.