From 5afaf84ae1406fd8d03887740c3d4a38fa5e2a29 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 12 Jan 2017 00:54:21 -0300 Subject: [PATCH] Added a list of signals to rename, this should become a header eventually --- scene/gui/graph_edit.cpp | 2 +- signal_renames.txt | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 signal_renames.txt diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 4d72bbbd0de..b919f0649d7 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -1265,7 +1265,7 @@ GraphEdit::GraphEdit() { top_layer->set_area_as_parent_rect(); top_layer->connect("draw",this,"_top_layer_draw"); top_layer->set_mouse_filter(MOUSE_FILTER_PASS); - top_layer->connect("input_event",this,"_top_layer_input"); + top_layer->connect("gui_input",this,"_top_layer_input"); connections_layer = memnew( Control ); add_child(connections_layer); diff --git a/signal_renames.txt b/signal_renames.txt new file mode 100644 index 00000000000..859985cb11b --- /dev/null +++ b/signal_renames.txt @@ -0,0 +1,21 @@ +area_enter = area_entered +area_exit = area_exited + +area_enter_shape = area_shape_entered +area_exit_shape = area_shape_exited + +body_enter = body_entered +body_exit = body_exited + +body_enter_shape = body_shape_entered +body_exit_shape = body_shape_exited + +mouse_enter = mouse_entered +mouse_exit = mouse_exited +focus_enter = focus_entered +focus_exit = focus_exited + +modal_close = modal_closed + +enter_tree = tree_entered +exit_tree = tree_exited \ No newline at end of file