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
@ -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)]
|
#[reflect(Component, Default)]
|
||||||
#[cfg_attr(
|
#[cfg_attr(
|
||||||
feature = "serialize",
|
feature = "serialize",
|
||||||
|
Loading…
Reference in New Issue
Block a user