mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-22 07:08:42 -06:00
fix alpha check
This commit is contained in:
parent
f95caf37e5
commit
3550c28cc7
|
@ -128,7 +128,7 @@ impl UiElement for Container {
|
|||
let mut position = ctx.layout.position;
|
||||
|
||||
//background
|
||||
if self.background.z > 0. {
|
||||
if self.background.w > 0. {
|
||||
ctx.draw.add(UiDrawCommand::Rectangle {
|
||||
position,
|
||||
size: ctx.measure.size,
|
||||
|
|
Loading…
Reference in a new issue