Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Runtime/Helpers/GUIHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@

public static class GUIHelper
{
#if UNITY_2023_2_OR_NEWER || UNITY_2021_3_28 || UNITY_2022_3_1
private static readonly GUIStyle _closeButtonStyle = GUI.skin.FindStyle("ToolbarSearchCancelButton");
#else
private static readonly GUIStyle _closeButtonStyle = GUI.skin.FindStyle("ToolbarSeachCancelButton");

#endif
/// <summary>Draws the close button.</summary>
/// <param name="buttonRect">Rect the button should be located in.</param>
/// <returns>Whether the button was pressed.</returns>
Expand Down Expand Up @@ -44,4 +47,4 @@ public ScrollView(Rect position, ref Vector2 scrollPosition, Rect viewRect)
public void Dispose() => GUI.EndScrollView();
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.solidalloy.util",
"version": "1.40.0",
"version": "1.41.0",
"displayName": "Solid Utilities",
"description": "Different utilities that simplify development in Unity3D",
"keywords": [
Expand Down