Skip to content

Commit

Permalink
fix(LogSettings): making labels clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Oct 20, 2021
1 parent 113b17f commit 7f65a8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/Mirage/Editor/Logging/LogLevelsGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ private void DrawGroup(IGrouping<string, LogSettingsSO.LoggerSettings> group)
if (!folderOutState.ContainsKey(NameSpace))
folderOutState[NameSpace] = false;

folderOutState[NameSpace] = EditorGUILayout.Foldout(folderOutState[NameSpace], NameSpace, EditorStyles.foldoutHeader);
folderOutState[NameSpace] = EditorGUILayout.Foldout(folderOutState[NameSpace], NameSpace, toggleOnLabelClick: true, EditorStyles.foldoutHeader);


if (folderOutState[NameSpace])
{
Expand Down

0 comments on commit 7f65a8a

Please sign in to comment.