From 03dd476f9f5d4453eb4e2d971c03e57ce8d16ca3 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Fri, 12 Feb 2021 13:06:56 +0100 Subject: [PATCH] Minor bugfix to LogicGraphEditor --- Examples/LogicToy/Editor/LogicGraphEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}