From 4a2b880e533beca19729dbadc927128c03e568e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Tue, 5 Mar 2024 00:08:26 +0100 Subject: [PATCH] remove background color from UI example image --- examples/ui/ui.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/ui/ui.rs b/examples/ui/ui.rs index 14f541da67cba..a3e4c6d74227b 100644 --- a/examples/ui/ui.rs +++ b/examples/ui/ui.rs @@ -283,8 +283,6 @@ fn setup(mut commands: Commands, asset_server: Res) { 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")),