Skip to content

Commit

Permalink
🔧 2.1.0 Hotfix
Browse files Browse the repository at this point in the history
- Corrected a very minor GUI error where the line separating categorized from un-categorized appeared below the first category title.
  • Loading branch information
JonathanMCarter committed Jan 1, 2024
1 parent 0639bc3 commit 469b8ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ private void DrawSaveObjects()

var saveObjectsInCategory = SaveCategoryAttributeHelper.GetObjectsInCategory(category);

EditorGUILayout.LabelField(category, EditorStyles.boldLabel);

if (didHaveUncategorized && !hasDrawnLine && saveObjectsInCategory.Count > 0)
{
UtilEditor.DrawHorizontalGUILine();
hasDrawnLine = true;
}

EditorGUILayout.LabelField(category, EditorStyles.boldLabel);

foreach (var saveObject in saveObjectsInCategory)
{
Expand Down

0 comments on commit 469b8ef

Please sign in to comment.