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.
This commit is contained in:
KDecay 2022-07-16 13:53:41 +00:00
parent 25d222b73e
commit f531a94370

View file

@ -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;