Skip to content

Commit 20638f3

Browse files
eidloimockersf
authored andcommitted
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
1 parent 26f7313 commit 20638f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ui/src/ui_node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ impl Default for BorderColor {
17361736
}
17371737
}
17381738

1739-
#[derive(Component, Copy, Clone, Default, Debug, Reflect)]
1739+
#[derive(Component, Copy, Clone, Default, Debug, PartialEq, Reflect)]
17401740
#[reflect(Component, Default)]
17411741
#[cfg_attr(
17421742
feature = "serialize",

0 commit comments

Comments
 (0)