Skip to content

Commit

Permalink
Fix UI node docs (#8287)
Browse files Browse the repository at this point in the history
# Objective

- Fix some (probably) incorrect docs.
  • Loading branch information
gajop committed Apr 2, 2023
1 parent d193d7f commit 9079f6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/bevy_ui/src/ui_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ pub enum AlignItems {
/// then they are packed towards the end of the axis.
FlexStart,
/// Items are packed towards the end of the axis, unless the flex direction is reversed;
/// then they are packed towards the end of the axis.
/// then they are packed towards the start of the axis.
FlexEnd,
/// Items are aligned at the center.
Center,
Expand Down Expand Up @@ -453,8 +453,8 @@ pub enum AlignSelf {
/// This item will be aligned with the start of the axis, unless the flex direction is reversed;
/// then it will be aligned with the end of the axis.
FlexStart,
/// This item will be aligned with the start of the axis, unless the flex direction is reversed;
/// then it will be aligned with the end of the axis.
/// This item will be aligned with the end of the axis, unless the flex direction is reversed;
/// then it will be aligned with the start of the axis.
FlexEnd,
/// This item will be aligned at the center.
Center,
Expand Down

0 comments on commit 9079f6d

Please sign in to comment.