mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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:
parent
bb02e6ac43
commit
9a6fc76148
1 changed files with 0 additions and 2 deletions
|
@ -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")),
|
||||
|
|
Loading…
Reference in a new issue