diff --git a/Packages/com.unity.inputsystem/InputSystem/Editor/Internal/AdvancedDropdown/AdvancedDropdownGUI.cs b/Packages/com.unity.inputsystem/InputSystem/Editor/Internal/AdvancedDropdown/AdvancedDropdownGUI.cs index 46520144f9..0f2a0c0c90 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Editor/Internal/AdvancedDropdown/AdvancedDropdownGUI.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Editor/Internal/AdvancedDropdown/AdvancedDropdownGUI.cs @@ -10,11 +10,7 @@ internal class AdvancedDropdownGUI { private static class Styles { -#if UNITY_2023_2_OR_NEWER || UNITY_2021_3_28 || UNITY_2022_3_1 - public static readonly GUIStyle toolbarSearchField = "ToolbarSearchTextField"; -#else - public static readonly GUIStyle toolbarSearchField = "ToolbarSeachTextField"; -#endif + public static readonly GUIStyle toolbarSearchField = EditorStyles.toolbarSearchField; public static readonly GUIStyle itemStyle = new GUIStyle("PR Label") .WithAlignment(TextAnchor.MiddleLeft) .WithPadding(new RectOffset())