* UIPagination: 修复按钮图标配色

This commit is contained in:
Sunny 2022-01-10 22:46:34 +08:00
parent ad5b064af0
commit 0beefc845b
3 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -910,8 +910,9 @@ namespace Sunny.UI
base.SetStyleColor(uiColor);
foreach (var button in buttons.Values)
{
button.SetStyleColor(uiColor);
button.FillColor = uiColor.PlainColor;
button.ForeColor = uiColor.RectColor;
button.SymbolColor = button.ForeColor = uiColor.RectColor;
button.FillSelectedColor = uiColor.ButtonFillColor;
}

View File

@ -203,6 +203,7 @@ namespace Sunny.UI
{
if (style.Value() >= UIStyle.Blue.Value() && style.Value() <= UIStyle.Office2010Black.Value())
{
if (style == UIStyle.DarkBlue) continue;
styles.Add(style);
}
}