diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-08 19:54:19 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-08 19:54:19 -0300 |
commit | 94ee7798ced5bc79196c971921c3109e299f8306 (patch) | |
tree | e74a933ee4879a742f90aead5fb1001c6531d07a /scene/gui/panel.cpp | |
parent | 4fd464a4c5fc83c34377450935671b7be868333c (diff) | |
download | redot-engine-94ee7798ced5bc79196c971921c3109e299f8306.tar.gz |
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
Diffstat (limited to 'scene/gui/panel.cpp')
-rw-r--r-- | scene/gui/panel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/panel.cpp b/scene/gui/panel.cpp index 68d01ccb6e..c4b7199c3e 100644 --- a/scene/gui/panel.cpp +++ b/scene/gui/panel.cpp @@ -41,7 +41,7 @@ void Panel::_notification(int p_what) { Panel::Panel() { - set_stop_mouse(true); + set_mouse_filter(MOUSE_FILTER_STOP); } |