diff --git a/examples/ui/ui_texture_atlas_slice.rs b/examples/ui/ui_texture_atlas_slice.rs index 2ff2dd03c0c604..77901211b7ed0d 100644 --- a/examples/ui/ui_texture_atlas_slice.rs +++ b/examples/ui/ui_texture_atlas_slice.rs @@ -19,31 +19,26 @@ fn main() { fn button_system( mut interaction_query: Query< - ( - &Interaction, - &mut TextureAtlas, - &Children, - &mut BackgroundColor, - ), + (&Interaction, &mut TextureAtlas, &Children, &mut UiImage), (Changed, With