summaryrefslogtreecommitdiffstats
path: root/scene/gui/patch_9_frame.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-08 19:54:19 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-08 19:54:19 -0300
commit94ee7798ced5bc79196c971921c3109e299f8306 (patch)
treee74a933ee4879a742f90aead5fb1001c6531d07a /scene/gui/patch_9_frame.cpp
parent4fd464a4c5fc83c34377450935671b7be868333c (diff)
downloadredot-engine-94ee7798ced5bc79196c971921c3109e299f8306.tar.gz
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
Diffstat (limited to 'scene/gui/patch_9_frame.cpp')
-rw-r--r--scene/gui/patch_9_frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/patch_9_frame.cpp b/scene/gui/patch_9_frame.cpp
index 5bcc6eb3e9..e32f60a222 100644
--- a/scene/gui/patch_9_frame.cpp
+++ b/scene/gui/patch_9_frame.cpp
@@ -174,7 +174,7 @@ Patch9Frame::Patch9Frame() {
margin[MARGIN_BOTTOM]=0;
margin[MARGIN_TOP]=0;
- set_ignore_mouse(true);
+ set_mouse_filter(MOUSE_FILTER_IGNORE);
draw_center=true;
}