diff --git a/Assets/Editor/EditorSpotlight.cs b/Assets/Editor/EditorSpotlight.cs index 07aab05..e5edf7b 100644 --- a/Assets/Editor/EditorSpotlight.cs +++ b/Assets/Editor/EditorSpotlight.cs @@ -31,6 +31,8 @@ static Styles() focused = new GUIStyleState() }; + inputFieldStyle.focused.textColor = Color.white; + placeholderStyle = new GUIStyle(inputFieldStyle) {normal = { textColor = EditorGUIUtility.isProSkin ? new Color(1, 1, 1, .2f) : new Color(.2f, .2f, .2f, .4f) @@ -338,10 +340,13 @@ UnityEngine.Object GetSelectedAsset() public void EnforceWindowSize() { - var pos = position; + /* var pos = position; pos.width = 500; pos.height = BaseHeight; - position = pos; + position = pos; */ + + position.Set(position.x, position.y, 500, BaseHeight); + } public void AddItemsToMenu(GenericMenu menu)