Skip to content

Commit

Permalink
Replace one color in z-index example
Browse files Browse the repository at this point in the history
  • Loading branch information
oceantume committed Sep 7, 2022
1 parent 0c1bbab commit 7b439e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ui/z_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ fn setup(mut commands: Commands) {
// by default, boxes all share the global z-index of 0 that the grey container is implicitly added to.
parent
.spawn_bundle(ButtonBundle {
color: Color::PINK.into(),
color: Color::PURPLE.into(),
style: Style {
position_type: PositionType::Absolute,
position: UiRect {
Expand Down

0 comments on commit 7b439e4

Please sign in to comment.