Fix bug with background color of nodes

This commit is contained in:
JMS55 2023-12-15 18:58:07 -08:00
parent b72a79bc81
commit 74e9fecc0f
1 changed files with 1 additions and 1 deletions

View File

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