From 973a70cbc9619e19a20c7f0aec8c8d7c4a0ddd2d Mon Sep 17 00:00:00 2001 From: Steve Halliwell Date: Thu, 20 Aug 2020 17:30:06 +1000 Subject: [PATCH] FlowchartWindow default EditorStyles labels Previously was forcing use of white labels, with changes to unity theme in 2019.4.8 using default editorstyle label instead yields more readable results --- Assets/Fungus/Scripts/Editor/FlowchartWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs index 687e4c3e..d546d916 100644 --- a/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Scripts/Editor/FlowchartWindow.cs @@ -302,7 +302,7 @@ namespace Fungus.EditorUtils if (EditorStyles.whiteLabel != null && handlerStyle == null) { - handlerStyle = new GUIStyle(EditorStyles.whiteLabel); + handlerStyle = new GUIStyle(EditorStyles.label); handlerStyle.wordWrap = true; handlerStyle.margin.top = 0; handlerStyle.margin.bottom = 0; @@ -914,7 +914,7 @@ namespace Fungus.EditorUtils GUILayout.BeginVertical(); { - GUILayout.Label(flowchart.name, EditorStyles.whiteBoldLabel); + GUILayout.Label(flowchart.name, EditorStyles.boldLabel); GUILayout.Space(2);