diff --git a/examples/ui/ui_material.rs b/examples/ui/ui_material.rs index 849cdba687..51752f2557 100644 --- a/examples/ui/ui_material.rs +++ b/examples/ui/ui_material.rs @@ -1,6 +1,6 @@ //! Demonstrates the use of [`UiMaterials`](UiMaterial) and how to change material values -use bevy::{color::palettes::css::RED, prelude::*, reflect::TypePath, render::render_resource::*}; +use bevy::{prelude::*, reflect::TypePath, render::render_resource::*}; /// This example uses a shader source file from the assets subdirectory const SHADER_ASSET_PATH: &str = "shaders/custom_ui_material.wgsl"; @@ -46,7 +46,6 @@ fn setup( border: UiRect::all(Val::Px(10.)), ..default() }, - BackgroundColor(RED.into()), )); }); }