From c1db2d9e4b0af319229973068710e29453fea5d9 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Sat, 14 Oct 2017 10:52:20 +0200 Subject: [PATCH] Minor UI design changes --- Scripts/Editor/NodeEditor.cs | 2 +- Scripts/Editor/NodeEditorGUI.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Scripts/Editor/NodeEditor.cs b/Scripts/Editor/NodeEditor.cs index 093b175..8da947b 100644 --- a/Scripts/Editor/NodeEditor.cs +++ b/Scripts/Editor/NodeEditor.cs @@ -85,7 +85,7 @@ public class NodeEditor { Color col = GUI.color; Rect handleRect = new Rect(handlePoint.x - 8, handlePoint.y - 8, 16, 16); - GUI.color = new Color(0.29f, 0.31f, 0.32f); + GUI.color = new Color32(90, 97, 105, 255); GUI.DrawTexture(handleRect, NodeEditorResources.dotOuter); GUI.color = NodeEditorPreferences.GetTypeColor(port.type); GUI.DrawTexture(handleRect, NodeEditorResources.dot); diff --git a/Scripts/Editor/NodeEditorGUI.cs b/Scripts/Editor/NodeEditorGUI.cs index a4c4681..74b0a86 100644 --- a/Scripts/Editor/NodeEditorGUI.cs +++ b/Scripts/Editor/NodeEditorGUI.cs @@ -109,7 +109,6 @@ public partial class NodeEditorWindow { Color prevCol = GUI.color; Color edgeCol = new Color(0.1f, 0.1f, 0.1f, col.a); - Handles.DrawBezier(startPoint, endPoint, startTangent, endTangent, edgeCol, null, 4); Handles.DrawBezier(startPoint, endPoint, startTangent, endTangent, col, null, 4); GUI.color = prevCol; }