Browse Source

Improved style of command inspector title bar

master
chrisgregan 11 years ago
parent
commit
0b7f4b69b1
  1. 4
      Assets/Fungus/FungusScript/Editor/FungusCommandEditor.cs

4
Assets/Fungus/FungusScript/Editor/FungusCommandEditor.cs

@ -55,10 +55,10 @@ namespace Fungus.Script
GUILayout.BeginVertical(GUI.skin.box);
GUI.backgroundColor = Color.green;
GUILayout.BeginHorizontal(GUI.skin.box);
GUILayout.BeginHorizontal(GUI.skin.button);
string commandName = commandInfoAttr.CommandName;
GUIStyle commandStyle = new GUIStyle(GUI.skin.button);
GUIStyle commandStyle = new GUIStyle(EditorStyles.miniButton);
if (t.enabled)
{
GUI.backgroundColor = commandInfoAttr.ButtonColor;

Loading…
Cancel
Save