mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Fix mouse_clicked check for touches. (#2029)
This seems like a copy-paste from line 72 that was only partially modified. I don't know how to test this, so please verify me :)
This commit is contained in:
parent
eb2a8b12e9
commit
646c7e4c50
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue