diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-06 12:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 12:23:39 +0100 |
commit | f003b3efaa1719bf97c99f95d6073caf463ee572 (patch) | |
tree | a72a991cc3ce5c047d5a076b37f97cfe6cbbe7b8 /scene/gui/graph_edit.cpp | |
parent | d705f780988149598b463e3a43c27bef3d0e3030 (diff) | |
parent | e2bebfbd4ca04682724b9e768db35865bb445216 (diff) | |
download | redot-engine-f003b3efaa1719bf97c99f95d6073caf463ee572.tar.gz |
Merge pull request #35068 from akien-mga/containers-mouse-filter-pass
Use MOUSE_FILTER_PASS for all containers
Diffstat (limited to 'scene/gui/graph_edit.cpp')
-rw-r--r-- | scene/gui/graph_edit.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 00ce57eb04..6a6fe43876 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -261,7 +261,6 @@ void GraphEdit::add_child_notify(Node *p_child) { gn->connect("raise_request", this, "_graph_node_raised", varray(gn)); gn->connect("item_rect_changed", connections_layer, "update"); _graph_node_moved(gn); - gn->set_mouse_filter(MOUSE_FILTER_PASS); } } @@ -1342,7 +1341,6 @@ GraphEdit::GraphEdit() { top_layer->set_mouse_filter(MOUSE_FILTER_PASS); top_layer->set_anchors_and_margins_preset(Control::PRESET_WIDE); top_layer->connect("draw", this, "_top_layer_draw"); - top_layer->set_mouse_filter(MOUSE_FILTER_PASS); top_layer->connect("gui_input", this, "_top_layer_input"); connections_layer = memnew(Control); |