Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit b34d48f

Browse files
committed
Formatting; Use correct GUI style for headers
1 parent a9f46bc commit b34d48f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PostProcessing/Editor/PostProcessEffectBaseEditor.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,15 @@ protected void PropertyField(SerializedParameterOverride property, GUIContent ti
124124
if (attr is PropertyAttribute)
125125
{
126126
if (attr is SpaceAttribute)
127+
{
127128
EditorGUILayout.GetControlRect(false, (attr as SpaceAttribute).height);
129+
}
128130
else if (attr is HeaderAttribute)
129131
{
130132
var rect = EditorGUILayout.GetControlRect(false, 24f);
131133
rect.y += 8f;
132134
rect = EditorGUI.IndentedRect(rect);
133-
EditorGUI.LabelField(rect, (attr as HeaderAttribute).header, EditorStyles.miniBoldLabel);
135+
EditorGUI.LabelField(rect, (attr as HeaderAttribute).header, Styling.labelHeader);
134136
}
135137
}
136138
}

0 commit comments

Comments
 (0)