From ccb7d22a58b86c294d942a8efcddb21639988ff1 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 21 Mar 2024 23:57:35 +0100 Subject: [PATCH] fix containers defaulting to black color --- hui/src/element/builtin/container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hui/src/element/builtin/container.rs b/hui/src/element/builtin/container.rs index 1104a12..bdd422e 100644 --- a/hui/src/element/builtin/container.rs +++ b/hui/src/element/builtin/container.rs @@ -103,7 +103,7 @@ impl Default for Container { gap: 0., padding: Sides::all(0.), align: Alignment2d::default(), - background: Default::default(), + background: FillColor::transparent(), background_image: None, children: ElementList(Vec::new()), wrap: false,