Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

always show root profile configurations #851

Merged
merged 1 commit into from
Jun 9, 2021
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,13 @@ public override void OnInspectorGUI()
RenderConfigurationOptions();
}

protected void RenderConfigurationOptions()
protected void RenderConfigurationOptions(bool forceExpanded = false)
{
if (forceExpanded)
{
configurations.isExpanded = true;
}

configurations.isExpanded = EditorGUILayoutExtensions.FoldoutWithBoldLabel(configurations.isExpanded, new GUIContent($"{ServiceConstraint.Name} Configuration Options"));

if (configurations.isExpanded)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ internal void RenderSystemFields()
}
}

RenderConfigurationOptions();
RenderConfigurationOptions(true);

serializedObject.Update();

Expand Down