We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f0653 commit 0c1b070Copy full SHA for 0c1b070
1 file changed
Editor/Scripts/Utility/GraphTool.cs
@@ -48,7 +48,7 @@ public static void SetNodeStyle(this GraphViewNode node, Color nodeColor,
48
49
public static Color GetPortColor(float weight)
50
{
51
- var alpha = (weight + ColorAlphaFactor) / (1 + weight);
+ var alpha = (weight + ColorAlphaFactor) / (1 + ColorAlphaFactor);
52
return new Color(1, 1, 1, alpha);
53
}
54
0 commit comments