bevy/crates/bevy_ui/src
Chamaloriz d83bae4417
FIX - RelativeCursorPosition Changed<> query filter (#20102)
## Problem

This pseudocode was triggering constantly, even with the Changed<> query
filter.

```rust
pub fn check_mouse_movement_system(
    relative_cursor_positions: Query< &RelativeCursorPosition, (Changed<RelativeCursorPosition>, With<Button>)>,
) {}
```

## Solution

- Added a check to prevent updating the value if it hasn't changed.

---------

Co-authored-by: Giacomo Stevanato <giaco.stevanato@gmail.com>
2025-07-13 19:44:40 +00:00
..
experimental Switch ChildOf back to tuple struct (#18672) 2025-04-02 00:10:10 +00:00
layout Split bevy_camera out of bevy_render (#19949) 2025-07-04 23:31:16 +00:00
widget Rename send_event and similar methods to write_event (#20017) 2025-07-07 22:05:16 +00:00
accessibility.rs Specialized UI transform (#16615) 2025-06-09 19:05:49 +00:00
focus.rs FIX - RelativeCursorPosition Changed<> query filter (#20102) 2025-07-13 19:44:40 +00:00
geometry.rs Rename Position to UiPosition in bevy_ui (#19422) 2025-05-29 14:52:44 +00:00
gradients.rs ColorStop constructor functions (#20066) 2025-07-11 05:02:15 +00:00
interaction_states.rs Core Checkbox (#19665) 2025-06-20 16:37:18 +00:00
lib.rs bevy_ui_render crate (#18703) 2025-07-03 23:36:35 +00:00
measurement.rs
picking_backend.rs OverrideClip interaction fix (#20064) 2025-07-11 05:02:36 +00:00
stack.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
ui_material.rs bevy_ui_render crate (#18703) 2025-07-03 23:36:35 +00:00
ui_node.rs bevy_ui_render crate (#18703) 2025-07-03 23:36:35 +00:00
ui_transform.rs Specialized UI transform (#16615) 2025-06-09 19:05:49 +00:00
update.rs Split bevy_camera out of bevy_render (#19949) 2025-07-04 23:31:16 +00:00