Skip to content

Commit 4666096

Browse files
committed
Update to use built-in bold style
This way, the font color matches the Unity editor theme
1 parent 1841cdd commit 4666096

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Assets/MRTK/Core/Inspectors/ControllerPopupWindow.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,10 @@ private void RenderMappingList(List<string> controllerList)
316316
return;
317317
}
318318

319-
GUIStyle headerStyle = new GUIStyle();
320-
headerStyle.richText = true;
321-
322319
using (new EditorGUILayout.VerticalScope())
323320
{
324321
GUILayout.FlexibleSpace();
325-
EditorGUILayout.LabelField("<b>Controllers affected by this mapping</b>", headerStyle);
322+
EditorGUILayout.LabelField("Controllers affected by this mapping", EditorStyles.boldLabel);
326323
for (int i = 0; i < controllerList.Count; i++)
327324
{
328325
EditorGUILayout.LabelField(controllerList[i]);

0 commit comments

Comments
 (0)