Skip to content

Commit

Permalink
refactor(ui): flatten ecs import into prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
BD103 committed Jan 17, 2024
1 parent ec44896 commit 5ce8904
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions crates/bevy_ui/src/widget/image.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
use crate::{measurement::AvailableSpace, ContentSize, Measure, Node, UiImage, UiScale};
use bevy_asset::Assets;

#[cfg(feature = "bevy_text")]
use bevy_ecs::query::Without;
use bevy_ecs::{
change_detection::DetectChanges,
prelude::Component,
query::With,
reflect::ReflectComponent,
system::{Local, Query, Res},
};
use bevy_ecs::prelude::*;
use bevy_math::Vec2;
use bevy_reflect::{std_traits::ReflectDefault, Reflect};
use bevy_render::texture::Image;
Expand Down

0 comments on commit 5ce8904

Please sign in to comment.