We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c624b88 commit db78199Copy full SHA for db78199
crates/bevy_ui/src/focus.rs
@@ -65,8 +65,8 @@ pub type NodeQuery<'a> = (
65
Option<&'a CalculatedClip>,
66
);
67
68
-/// The system that sets Interaction for all UI elements based on the mouse cursor activity
69
-#[allow(clippy::type_complexity)]
+/// The system that sets Interaction for all UI elements based on the mouse and touch cursor
+/// activity
70
pub fn ui_focus_system(
71
state: Local<State>,
72
windows: Res<Windows>,
@@ -83,7 +83,6 @@ pub fn ui_focus_system(
83
)
84
}
85
86
87
fn focus_ui<Cursor: CursorResource>(
88
mut state: Local<State>,
89
windows: Res<Cursor>,
0 commit comments