mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-21 14:48:42 -06:00
apply bg image
This commit is contained in:
parent
806e0ce8d1
commit
7d2cf87201
|
@ -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)
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue