* UIBattery:修改可自定义背景色
This commit is contained in:
parent
5e769b0b7d
commit
e4b6be94e4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -46,7 +46,6 @@ namespace Sunny.UI
|
||||
{
|
||||
SetStyleFlags(true, false);
|
||||
ShowRect = false;
|
||||
fillColor = UIStyles.Blue.PlainColor;
|
||||
Width = 48;
|
||||
Height = 24;
|
||||
}
|
||||
@ -145,6 +144,8 @@ namespace Sunny.UI
|
||||
|
||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||
{
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
base.SetStyleColor(uiColor);
|
||||
fillColor = uiColor.PlainColor;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user