1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 17:26:02 +08:00

Removed automatically setting header to white. Controlling header color is now easier

This commit is contained in:
Thor Brigsted 2018-06-25 22:46:07 +02:00
parent 6ee12afc84
commit 5a88ddbda6

View File

@ -23,7 +23,6 @@ namespace XNodeEditor {
}
public virtual void OnHeaderGUI() {
GUI.color = Color.white;
string title = target.name;
if (renaming != 0 && Selection.Contains(target)) {
int controlID = EditorGUIUtility.GetControlID(FocusType.Keyboard) + 1;