mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-22 00:08:53 -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;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user