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:
parent
6ee12afc84
commit
5a88ddbda6
@ -23,7 +23,6 @@ namespace XNodeEditor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public virtual void OnHeaderGUI() {
|
public virtual void OnHeaderGUI() {
|
||||||
GUI.color = Color.white;
|
|
||||||
string title = target.name;
|
string title = target.name;
|
||||||
if (renaming != 0 && Selection.Contains(target)) {
|
if (renaming != 0 && Selection.Contains(target)) {
|
||||||
int controlID = EditorGUIUtility.GetControlID(FocusType.Keyboard) + 1;
|
int controlID = EditorGUIUtility.GetControlID(FocusType.Keyboard) + 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user