apply bg image

This commit is contained in:
griffi-gh 2024-03-07 01:12:39 +01:00
parent 1fc63cf070
commit 3731f19380

View file

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