Skip to content

Commit 1fdfa3c

Browse files
FIX: Swapped AdvancedDropdownGUI.toolbarSearchField to use EditorStyles directly (#1730)
Co-authored-by: James McGill <jamesmcgill@users.noreply.github.com>
1 parent a56878c commit 1fdfa3c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Packages/com.unity.inputsystem/InputSystem/Editor/Internal/AdvancedDropdown/AdvancedDropdownGUI.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ internal class AdvancedDropdownGUI
1010
{
1111
private static class Styles
1212
{
13-
#if UNITY_2023_2_OR_NEWER || UNITY_2021_3_28 || UNITY_2022_3_1
14-
public static readonly GUIStyle toolbarSearchField = "ToolbarSearchTextField";
15-
#else
16-
public static readonly GUIStyle toolbarSearchField = "ToolbarSeachTextField";
17-
#endif
13+
public static readonly GUIStyle toolbarSearchField = EditorStyles.toolbarSearchField;
1814
public static readonly GUIStyle itemStyle = new GUIStyle("PR Label")
1915
.WithAlignment(TextAnchor.MiddleLeft)
2016
.WithPadding(new RectOffset())

0 commit comments

Comments
 (0)