diff --git a/Alchemy/Assets/Alchemy/Editor/Hierarchy/HierarchyTreeMapDrawer.cs b/Alchemy/Assets/Alchemy/Editor/Hierarchy/HierarchyTreeMapDrawer.cs index ab89d57..6de84b6 100644 --- a/Alchemy/Assets/Alchemy/Editor/Hierarchy/HierarchyTreeMapDrawer.cs +++ b/Alchemy/Assets/Alchemy/Editor/Hierarchy/HierarchyTreeMapDrawer.cs @@ -67,6 +67,9 @@ namespace Alchemy.Editor if (gameObject == null) return; var settings = AlchemySettings.GetOrCreateSettings(); + + var tempColor = GUI.color; + if (settings.ShowTreeMap) { selectionRect.width = 14; @@ -130,7 +133,7 @@ namespace Alchemy.Editor else break; } - GUI.color = Color.white; + GUI.color = tempColor; } } }