Skip to content

Commit

Permalink
Remove redundant Size import (bevyengine#5339)
Browse files Browse the repository at this point in the history
# Objective

- Fixes  bevyengine#5338 
- Allow the usage of `use bevy::ui::Size` (see migration guide in bevyengine#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 authored and james7132 committed Oct 28, 2022
1 parent 25b357f commit 59f2a2c
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 59f2a2c

Please sign in to comment.