summaryrefslogtreecommitdiffstats
path: root/scene/gui/graph_edit.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-06 12:23:39 +0100
committerGitHub <noreply@github.com>2020-02-06 12:23:39 +0100
commitf003b3efaa1719bf97c99f95d6073caf463ee572 (patch)
treea72a991cc3ce5c047d5a076b37f97cfe6cbbe7b8 /scene/gui/graph_edit.cpp
parentd705f780988149598b463e3a43c27bef3d0e3030 (diff)
parente2bebfbd4ca04682724b9e768db35865bb445216 (diff)
downloadredot-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.cpp2
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);