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

Revert "Fixed mouse propagation in custom graph editors. Now you can use buttons and other controls."

This reverts commit 22b379353016739d0d537ee3920299a00ce451f5.
This commit is contained in:
Thor Brigsted 2020-09-09 11:53:51 +02:00
parent 22b3793530
commit af34ea6c47

View File

@ -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) {