Fixed quad title

This commit is contained in:
Kiryl Tkachou 2019-07-26 15:51:51 +03:00
parent 6ac386c1b5
commit 9a13ddb24e

View File

@ -53,7 +53,10 @@ namespace MA_TextureAtlasserPro
GUILayout.BeginHorizontal(); GUILayout.BeginHorizontal();
GUILayout.FlexibleSpace(); GUILayout.FlexibleSpace();
var tempColor = GUI.backgroundColor;
GUI.backgroundColor = Color.white;
GUILayout.Label(this.name, GUI.skin.box); GUILayout.Label(this.name, GUI.skin.box);
GUI.backgroundColor = tempColor;
GUILayout.FlexibleSpace(); GUILayout.FlexibleSpace();
GUILayout.EndHorizontal(); GUILayout.EndHorizontal();