Skip to content

Commit

Permalink
Made the foldout label clickable in the folder inspector
Browse files Browse the repository at this point in the history
Fix of a small annoying detail
  • Loading branch information
SolidAlloy committed Feb 25, 2021
1 parent 0f7bd6e commit 82a5f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/FolderEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class FolderEditor : UnityEditor.Editor
public override bool RequiresConstantRepaint() => true;
public override void OnInspectorGUI()
{
this._expanded = EditorGUILayout.Foldout(this._expanded, "Icon Color");
this._expanded = EditorGUILayout.Foldout(this._expanded, "Icon Color", true);
if (this._expanded) { this.RenderColorPicker(); }
}

Expand Down

0 comments on commit 82a5f6f

Please sign in to comment.