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
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user