mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Minor bugfix to LogicGraphEditor
This commit is contained in:
parent
754a5f66af
commit
03dd476f9f
@ -60,7 +60,7 @@ namespace XNodeEditor.Examples.LogicToy {
|
||||
/// <summary> Controls graph type colors </summary>
|
||||
public override Color GetTypeColor(System.Type type) {
|
||||
if (type == typeof(bool)) return boolColor;
|
||||
else return GetTypeColor(type);
|
||||
else return base.GetTypeColor(type);
|
||||
}
|
||||
|
||||
/// <summary> Returns the time at which an arbitrary object was last 'on' </summary>
|
||||
@ -108,4 +108,4 @@ namespace XNodeEditor.Examples.LogicToy {
|
||||
gradient.SetKeys(colorKeys, gradient.alphaKeys);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user