* 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);
|
SetStyleFlags(true, false);
|
||||||
ShowRect = false;
|
ShowRect = false;
|
||||||
fillColor = UIStyles.Blue.PlainColor;
|
|
||||||
Width = 48;
|
Width = 48;
|
||||||
Height = 24;
|
Height = 24;
|
||||||
}
|
}
|
||||||
@ -145,6 +144,8 @@ namespace Sunny.UI
|
|||||||
|
|
||||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||||
{
|
{
|
||||||
|
if (uiColor.IsCustom()) return;
|
||||||
|
|
||||||
base.SetStyleColor(uiColor);
|
base.SetStyleColor(uiColor);
|
||||||
fillColor = uiColor.PlainColor;
|
fillColor = uiColor.PlainColor;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user