bevy/crates/bevy_ui/src/widget
Erick Z b6e4d171b5
Adding PartialEq to some UI and Text types (#19552)
# Objective

- During the development of
[`bevy_flair`](https://github.com/eckz/bevy_flair) I found [some types
lacking
`PartialEq`](https://github.com/search?q=repo%3Aeckz%2Fbevy_flair%20%20%22Try%20to%20upstream%20it%20to%20bevy%22&type=code)
which made the unit testing a little bit inconvinient.

## Solution

- Adding `PartialEq` for the following types:
  - `LineHeight `
  - `TextShadow`
  - `NodeImageMode`

## Testing

- Letting github actions do the testing, this is not an invasive change
and `cargo run --bin ci` doesn't seem to work in `main` at the moment.
2025-06-09 20:08:17 +00:00
..
button.rs Improved Require Syntax (#18555) 2025-03-26 17:48:27 +00:00
image.rs Adding PartialEq to some UI and Text types (#19552) 2025-06-09 20:08:17 +00:00
label.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
mod.rs Add a viewport UI widget (#17253) 2025-05-05 22:57:37 +00:00
text.rs Rename JustifyText to Justify (#19522) 2025-06-09 19:59:48 +00:00
viewport.rs Remove workaround for image resize warning (#19397) 2025-06-09 19:32:57 +00:00