remove background color from UI example image (#12306)

# Objective

- After https://github.com/bevyengine/bevy/pull/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
This commit is contained in:
François 2024-03-05 00:41:51 +01:00 committed by GitHub
parent bb02e6ac43
commit 9a6fc76148
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")),