diff --git a/Examples/LogicToy/Editor/LogicGraphEditor.cs b/Examples/LogicToy/Editor/LogicGraphEditor.cs index ca09ea6..1ba8878 100644 --- a/Examples/LogicToy/Editor/LogicGraphEditor.cs +++ b/Examples/LogicToy/Editor/LogicGraphEditor.cs @@ -60,7 +60,7 @@ namespace XNodeEditor.Examples.LogicToy { /// Controls graph type colors public override Color GetTypeColor(System.Type type) { if (type == typeof(bool)) return boolColor; - else return GetTypeColor(type); + else return base.GetTypeColor(type); } /// Returns the time at which an arbitrary object was last 'on' @@ -108,4 +108,4 @@ namespace XNodeEditor.Examples.LogicToy { gradient.SetKeys(colorKeys, gradient.alphaKeys); } } -} \ No newline at end of file +}