Browse Source

Force CommandLabelStyle text to black

Fix #801
master
Steve Halliwell 5 years ago
parent
commit
3aad75eca7
  1. 1
      Assets/Fungus/Scripts/Editor/CommandListAdaptor.cs

1
Assets/Fungus/Scripts/Editor/CommandListAdaptor.cs

@ -26,6 +26,7 @@ namespace Fungus.EditorUtils
{ {
commandLabelStyle = new GUIStyle(GUI.skin.box); commandLabelStyle = new GUIStyle(GUI.skin.box);
commandLabelStyle.normal.background = FungusEditorResources.CommandBackground; commandLabelStyle.normal.background = FungusEditorResources.CommandBackground;
commandLabelStyle.normal.textColor = Color.black;
int borderSize = 5; int borderSize = 5;
commandLabelStyle.border.top = borderSize; commandLabelStyle.border.top = borderSize;
commandLabelStyle.border.bottom = borderSize; commandLabelStyle.border.bottom = borderSize;

Loading…
Cancel
Save