Color attribute not applying alpha component to widgets
DevonOrxi opened this issue · comments
When using the "color" attribute in the ui xml, the corresponding widget gets correctly tinted but the alpha value is ignored. 0x440000FF would yield a blue but fully opaque image.
I even tried hardcoding a value in FlxUI9SliceSprite's constructor won't change the opacity of the original image. Tested it with FlxUISprite too with the same results.
Found this thing: if you use the "alpha" (0~1) attribute for any widget, the opacity works as intended. It's not in the GitHub documentation, and couldn't find it anywhere, so I apologize if I rushed this (it was driving me kinda insane).