From 5523ee4ef4d0b759a95fca20d1952f50ceaf9497 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 26 Sep 2014 15:07:08 +0100 Subject: [PATCH] Changed sequence node style (smaller and stands out more) --- Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs | 6 +++--- Assets/Fungus/FungusScript/Scripts/Node.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs b/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs index 998f9884..6263f718 100755 --- a/Assets/Fungus/FungusScript/Editor/FungusScriptWindow.cs +++ b/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); } } diff --git a/Assets/Fungus/FungusScript/Scripts/Node.cs b/Assets/Fungus/FungusScript/Scripts/Node.cs index bfa54f2f..8ce862c8 100644 --- a/Assets/Fungus/FungusScript/Scripts/Node.cs +++ b/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); } } \ No newline at end of file