mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
!O(Node Editor) Adjust the drawing order
This commit is contained in:
parent
e77fcc580f
commit
3761aa1361
@ -29,9 +29,9 @@ namespace XNodeEditor {
|
||||
DrawConnections();
|
||||
DrawNodes();
|
||||
DrawSelectionBox();
|
||||
DrawGroupName();
|
||||
DrawTooltip();
|
||||
graphEditor.OnGUI();
|
||||
DrawTooltip();
|
||||
DrawGroupName();
|
||||
|
||||
// Run and reset onLateGUI
|
||||
if (onLateGUI != null) {
|
||||
@ -50,7 +50,7 @@ namespace XNodeEditor {
|
||||
EditorStyles.label.fontSize = 48;
|
||||
Rect size = GUILayoutUtility.GetRect(guiContent, EditorStyles.label);
|
||||
EditorStyles.label.normal.textColor = new Color(175 / 255f, 185 / 255f, 185 / 255f);
|
||||
EditorGUI.LabelField(new Rect(new Vector2(5, 5), size.size), guiContent);
|
||||
EditorGUI.LabelField(new Rect(new Vector2(5, 15), size.size), guiContent);
|
||||
EditorStyles.label.fontSize = fontSize;
|
||||
EditorStyles.label.normal.textColor = col;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user