mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix(UXAssist): fix UI color issue imported in 574919f
This commit is contained in:
1 parent
87061d5235
commit
4b2f9c67dc
16 files changed
+14
-48
No files matched your search
@@ -79,10 +79,7 @@ internal static class MenuButtonUI
|
||||
btn.name = "button-uxassist-config";
|
||||
btn.button.enabled = true;
|
||||
btn.button.interactable = true;
|
||||
btn.text.color = Color.white;
|
||||
btn.text.fontStyle = FontStyle.Normal;
|
||||
btn.selectBg.color = new Color(1f, 1f, 1f, 0f);
|
||||
btn.selectBar.color = new Color(1f, 1f, 1f, 0f);
|
||||
var l = btn.text.GetComponent<Localizer>();
|
||||
if (l != null)
|
||||
{
|
||||
@@ -114,7 +111,6 @@ internal static class MenuButtonUI
|
||||
if (img != null)
|
||||
{
|
||||
img.sprite = icon;
|
||||
img.color = Color.white;
|
||||
img.enabled = icon != null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user