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

-4
View File
@@ -42,7 +42,6 @@ public class MyComboBox : MonoBehaviour
txtComp.font = fontSource.font;
txtComp.fontSize = fontSource.fontSize;
txtComp.fontStyle = fontSource.fontStyle;
txtComp.color = Color.white;
}
txtComp = rect.Find("Main Button/Text")?.GetComponent<Text>();
if (txtComp)
@@ -50,7 +49,6 @@ public class MyComboBox : MonoBehaviour
txtComp.font = fontSource.font;
txtComp.fontSize = fontSource.fontSize;
txtComp.fontStyle = fontSource.fontStyle;
txtComp.color = Color.white;
}
}
cbctrl.onSubmit.RemoveAllListeners();
@@ -59,8 +57,6 @@ public class MyComboBox : MonoBehaviour
cbctrl.isDroppedDown = false;
cbctrl.m_Input.text = "";
cbctrl.m_Text.text = "";
cbctrl.m_Input.textComponent.color = Color.white;
cbctrl.m_Text.color = Color.white;
cbctrl.m_DropDownContent.anchoredPosition = Vector2.zero;
cbctrl.m_DropDownList.gameObject.SetActive(false);
cbctrl.m_EmptyItemRes.gameObject.SetActive(false);