Browse Source

Changed sequence node style (smaller and stands out more)

master
chrisgregan 10 years ago
parent
commit
5523ee4ef4
  1. 6
      Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs
  2. 2
      Assets/Fungus/FungusScript/Scripts/Node.cs

6
Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs

@ -128,9 +128,9 @@ namespace Fungus
BeginWindows();
GUIStyle windowStyle = new GUIStyle(EditorStyles.toolbarButton);
GUIStyle windowStyle = new GUIStyle("VCS_StickyNote");
windowStyle.stretchHeight = true;
windowStyle.fixedHeight = 40;
windowStyle.fixedHeight = 20;
if (Event.current.button == 0 &&
Event.current.type == EventType.MouseDown)
@ -427,7 +427,7 @@ namespace Fungus
color = Color.green;
}
GLDraw.DrawConnectingCurve(pointA, pointB, color, 2);
GLDraw.DrawConnectingCurve(pointA, pointB, color, 2f);
}
}

2
Assets/Fungus/FungusScript/Scripts/Node.cs

@ -6,7 +6,7 @@ namespace Fungus
public class Node : MonoBehaviour
{
public Rect nodeRect = new Rect(10, 10, 100, 40);
public Rect nodeRect = new Rect(10, 10, 100, 20);
}
}
Loading…
Cancel
Save