diff --git a/examples/usage/control_flow/selection_menu.rs b/examples/usage/control_flow/selection_menu.rs index 43c29c569e..7236ef12bc 100644 --- a/examples/usage/control_flow/selection_menu.rs +++ b/examples/usage/control_flow/selection_menu.rs @@ -18,7 +18,7 @@ use bevy::{ lifecycle::{Insert, Replace}, name::Name, observer::On, - query::With, + query::{Has, With}, relationship::Relationship, schedule::{IntoScheduleConfigs, SystemCondition}, spawn::{SpawnIter, SpawnRelated}, @@ -46,7 +46,6 @@ use bevy::{ }, DefaultPlugins, }; -use bevy_ecs::query::Has; /// How fast the ui background darkens/lightens const DECAY_FACTOR: f32 = 0.875;