From 74e9fecc0f3e6f2720c33db64a029eaf6da51e05 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Fri, 15 Dec 2023 18:58:07 -0800 Subject: [PATCH] Fix bug with background color of nodes --- src/apply_mutations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply_mutations.rs b/src/apply_mutations.rs index df87226..85ed12e 100644 --- a/src/apply_mutations.rs +++ b/src/apply_mutations.rs @@ -222,7 +222,7 @@ impl BevyTemplateNode { fn parse_style_attributes(attributes: &[TemplateAttribute]) -> (Style, BackgroundColor) { let mut style = Style::default(); - let mut background_color = BackgroundColor::default(); + let mut background_color = Color::NONE.into(); for attribute in attributes { if let TemplateAttribute::Static { name,