mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 08:18:51 -05:00
Fix: GUI.color not reverting correctly
This commit is contained in:
parent
c8348c6b69
commit
48f602aa87
@ -67,6 +67,9 @@ namespace Alchemy.Editor
|
|||||||
if (gameObject == null) return;
|
if (gameObject == null) return;
|
||||||
|
|
||||||
var settings = AlchemySettings.GetOrCreateSettings();
|
var settings = AlchemySettings.GetOrCreateSettings();
|
||||||
|
|
||||||
|
var tempColor = GUI.color;
|
||||||
|
|
||||||
if (settings.ShowTreeMap)
|
if (settings.ShowTreeMap)
|
||||||
{
|
{
|
||||||
selectionRect.width = 14;
|
selectionRect.width = 14;
|
||||||
@ -130,7 +133,7 @@ namespace Alchemy.Editor
|
|||||||
else break;
|
else break;
|
||||||
}
|
}
|
||||||
|
|
||||||
GUI.color = Color.white;
|
GUI.color = tempColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user