From 7d2cf87201b7277cd21be38bb2733252b3a8f68e Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 7 Mar 2024 01:12:39 +0100 Subject: [PATCH] apply bg image --- 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 3674679..2afd944 100644 --- a/hui/src/element/builtin/container.rs +++ b/hui/src/element/builtin/container.rs @@ -326,7 +326,7 @@ impl UiElement for Container { position, size: ctx.measure.size, color: corner_colors, - texture: None, + texture: self.background_image, rounded_corners: (self.corner_radius.max_f32() > 0.).then_some({ RoundedCorners::from_radius(self.corner_radius) }),