1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

Minor UI design changes

This commit is contained in:
Thor Brigsted 2017-10-14 10:52:20 +02:00
parent 427dc8d53c
commit c1db2d9e4b
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}