fix containers defaulting to black color

This commit is contained in:
griffi-gh 2024-03-21 23:57:35 +01:00
parent 62f22d9f12
commit 50ea989906

View file

@ -103,7 +103,7 @@ impl Default for Container {
gap: 0., gap: 0.,
padding: Sides::all(0.), padding: Sides::all(0.),
align: Alignment2d::default(), align: Alignment2d::default(),
background: Default::default(), background: FillColor::transparent(),
background_image: None, background_image: None,
children: ElementList(Vec::new()), children: ElementList(Vec::new()),
wrap: false, wrap: false,