mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
add PartialEq to Outline (#14055)
# Objective `sickle_ui` needs `PartialEq` on components to turn them into animatable style attributes. ## Solution All properties of Outline is already `PartialEq`, add derive on `Outline` as well. ## Testing - used `sickle_ui` to test if it can be made animatable
This commit is contained in:
parent
26f7313212
commit
20638f3a10
1 changed files with 1 additions and 1 deletions
|
@ -1736,7 +1736,7 @@ impl Default for BorderColor {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Component, Copy, Clone, Default, Debug, Reflect)]
|
||||
#[derive(Component, Copy, Clone, Default, Debug, PartialEq, Reflect)]
|
||||
#[reflect(Component, Default)]
|
||||
#[cfg_attr(
|
||||
feature = "serialize",
|
||||
|
|
Loading…
Reference in a new issue