aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_profiler.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-08 19:54:19 -0300
committerJuan Linietsky2017-01-08 19:54:19 -0300
commit94ee7798ced5bc79196c971921c3109e299f8306 (patch)
treee74a933ee4879a742f90aead5fb1001c6531d07a /tools/editor/editor_profiler.cpp
parent4fd464a4c5fc83c34377450935671b7be868333c (diff)
downloadgodot-94ee7798ced5bc79196c971921c3109e299f8306.tar.gz
godot-94ee7798ced5bc79196c971921c3109e299f8306.tar.zst
godot-94ee7798ced5bc79196c971921c3109e299f8306.zip
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
Diffstat (limited to 'tools/editor/editor_profiler.cpp')
-rw-r--r--tools/editor/editor_profiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_profiler.cpp b/tools/editor/editor_profiler.cpp
index 54b9de762..162e1d05f 100644
--- a/tools/editor/editor_profiler.cpp
+++ b/tools/editor/editor_profiler.cpp
@@ -710,8 +710,8 @@ EditorProfiler::EditorProfiler()
graph = memnew( TextureFrame );
graph->set_expand(true);
- graph->set_stop_mouse(true);
- graph->set_ignore_mouse(false);
+ graph->set_mouse_filter(MOUSE_FILTER_STOP);
+ //graph->set_ignore_mouse(false);
graph->connect("draw",this,"_graph_tex_draw");
graph->connect("gui_input",this,"_graph_tex_input");
graph->connect("mouse_exit",this,"_graph_tex_mouse_exit");