diff --git a/crates/bevy_ui/src/accessibility.rs b/crates/bevy_ui/src/accessibility.rs index f4d331b9ca..51fcc5be81 100644 --- a/crates/bevy_ui/src/accessibility.rs +++ b/crates/bevy_ui/src/accessibility.rs @@ -1,7 +1,7 @@ use crate::{ experimental::UiChildren, prelude::{Button, Label}, - widget::{TextUiReader, UiImage}, + widget::{ImageNode, TextUiReader}, ComputedNode, }; use bevy_a11y::{ @@ -92,7 +92,10 @@ fn button_changed( fn image_changed( mut commands: Commands, - mut query: Query<(Entity, Option<&mut AccessibilityNode>), (Changed, Without