mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +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:
parent
22b3793530
commit
af34ea6c47
@ -22,7 +22,6 @@ namespace XNodeEditor {
|
|||||||
Matrix4x4 m = GUI.matrix;
|
Matrix4x4 m = GUI.matrix;
|
||||||
if (graph == null) return;
|
if (graph == null) return;
|
||||||
ValidateGraphEditor();
|
ValidateGraphEditor();
|
||||||
if (e.isMouse) graphEditor.OnGUI();
|
|
||||||
Controls();
|
Controls();
|
||||||
|
|
||||||
DrawGrid(position, zoom, panOffset);
|
DrawGrid(position, zoom, panOffset);
|
||||||
@ -31,7 +30,7 @@ namespace XNodeEditor {
|
|||||||
DrawNodes();
|
DrawNodes();
|
||||||
DrawSelectionBox();
|
DrawSelectionBox();
|
||||||
DrawTooltip();
|
DrawTooltip();
|
||||||
if (!e.isMouse) graphEditor.OnGUI();
|
graphEditor.OnGUI();
|
||||||
|
|
||||||
// Run and reset onLateGUI
|
// Run and reset onLateGUI
|
||||||
if (onLateGUI != null) {
|
if (onLateGUI != null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user