diff --git a/crates/bevy_render/src/view/window/cursor.rs b/crates/bevy_render/src/view/window/cursor.rs index 9af4e979bbb673..a290c201e08d86 100644 --- a/crates/bevy_render/src/view/window/cursor.rs +++ b/crates/bevy_render/src/view/window/cursor.rs @@ -79,7 +79,7 @@ pub fn update_cursors( mut queue: Local>, ) { for (entity, cursor) in windows.iter_mut() { - if !(cursor.is_changed() || queue.remove(&entity)) { + if !(queue.remove(&entity) || cursor.is_changed()) { continue; }