diff --git a/Scripts/Editor/NodeEditorGUI.cs b/Scripts/Editor/NodeEditorGUI.cs index c0b1c5b..21d6d0f 100755 --- a/Scripts/Editor/NodeEditorGUI.cs +++ b/Scripts/Editor/NodeEditorGUI.cs @@ -22,7 +22,6 @@ namespace XNodeEditor { Matrix4x4 m = GUI.matrix; if (graph == null) return; ValidateGraphEditor(); - if (e.isMouse) graphEditor.OnGUI(); Controls(); DrawGrid(position, zoom, panOffset); @@ -31,7 +30,7 @@ namespace XNodeEditor { DrawNodes(); DrawSelectionBox(); DrawTooltip(); - if (!e.isMouse) graphEditor.OnGUI(); + graphEditor.OnGUI(); // Run and reset onLateGUI if (onLateGUI != null) {