fix(UXAssist): fix UI color issue imported in 574919f

This commit is contained in:
soarqin committed 2026-09-11 00:41:28 +08:00
1 parent 87061d5235
commit 4b2f9c67dc
16 files changed
+14 -48

No files matched your search

-3
View File
@@ -27,14 +27,12 @@ public class MyFlatButton : MonoBehaviour
if (img != null)
{
img.sprite = panel.buttonDefaultSprite;
img.color = new Color(1f, 1f, 1f, 13f / 255f);
img.enabled = true;
}
img = btn.gameObject.transform.Find("frame")?.GetComponent<Image>();
if (img != null)
{
img.color = new Color(1f, 1f, 1f, 0f);
img.enabled = true;
}
@@ -42,7 +40,6 @@ public class MyFlatButton : MonoBehaviour
if (text)
{
text.text = "";
text.color = Color.white;
text.fontStyle = FontStyle.Normal;
}