diff --git a/crates/bevy_ui/src/focus.rs b/crates/bevy_ui/src/focus.rs index bda95216f367a6..10df5b24d9d603 100644 --- a/crates/bevy_ui/src/focus.rs +++ b/crates/bevy_ui/src/focus.rs @@ -98,7 +98,7 @@ pub fn ui_focus_system( } let mouse_clicked = - mouse_button_input.just_pressed(MouseButton::Left) || touches_input.just_released(0); + mouse_button_input.just_pressed(MouseButton::Left) || touches_input.just_pressed(0); let mut moused_over_z_sorted_nodes = node_query .iter_mut()