Skip to content

Commit 68d2be6

Browse files
authored
Listen button fix for older unity versions (ISXB-535) (#1717)
* ISXB-535 Listen button fix for older unity versions * removing 2023.1 as new InputSystem package is not supported anyway
1 parent 0332206 commit 68d2be6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ 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
1314
public static readonly GUIStyle toolbarSearchField = "ToolbarSearchTextField";
15+
#else
16+
public static readonly GUIStyle toolbarSearchField = "ToolbarSeachTextField";
17+
#endif
1418
public static readonly GUIStyle itemStyle = new GUIStyle("PR Label")
1519
.WithAlignment(TextAnchor.MiddleLeft)
1620
.WithPadding(new RectOffset())

0 commit comments

Comments
 (0)