diff --git a/Scripts/ComboBox/DropDownList.cs b/Scripts/ComboBox/DropDownList.cs index dc7441a..66e7f6b 100644 --- a/Scripts/ComboBox/DropDownList.cs +++ b/Scripts/ComboBox/DropDownList.cs @@ -70,7 +70,7 @@ namespace UnityEngine.UI.Extensions } } - public void Awake() + public void Start() { Initialize(); } @@ -277,6 +277,8 @@ namespace UnityEngine.UI.Extensions /// whether an item was directly clicked on public void ToggleDropdownPanel(bool directClick) { + _overlayRT.transform.localScale = new Vector3(1, 1, 1); + _scrollBarRT.transform.localScale = new Vector3(1, 1, 1); _isPanelActive = !_isPanelActive; _overlayRT.gameObject.SetActive(_isPanelActive); if (_isPanelActive)