Skip to content

Commit

Permalink
remove background color from UI example image (bevyengine#12306)
Browse files Browse the repository at this point in the history
# Objective

- After bevyengine#11165, example `ui` is
not pretty as it displays the Bevy logo on a white background, with a
comment that is now wrong

## Solution

- Remove the background color
  • Loading branch information
mockersf authored and spectria-limina committed Mar 9, 2024
1 parent a6c7c08 commit 577aeb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/ui/ui.rs
Expand Up @@ -283,8 +283,6 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
margin: UiRect::top(Val::VMin(5.)),
..default()
},
// a `NodeBundle` is transparent by default, so to see the image we have to its color to `WHITE`
background_color: Color::WHITE.into(),
..default()
},
UiImage::new(asset_server.load("branding/bevy_logo_dark_big.png")),
Expand Down

0 comments on commit 577aeb7

Please sign in to comment.