aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/box_container.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-08 20:58:39 -0300
committerJuan Linietsky2017-01-08 20:58:39 -0300
commit13cdccf23ba639d7a30a590698cfd36ee558c794 (patch)
treec5663aa7050d6d79ef1073ac26d8ff0104a27ad4 /scene/gui/box_container.cpp
parent94ee7798ced5bc79196c971921c3109e299f8306 (diff)
downloadgodot-13cdccf23ba639d7a30a590698cfd36ee558c794.tar.gz
godot-13cdccf23ba639d7a30a590698cfd36ee558c794.tar.zst
godot-13cdccf23ba639d7a30a590698cfd36ee558c794.zip
Diffstat (limited to 'scene/gui/box_container.cpp')
-rw-r--r--scene/gui/box_container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/box_container.cpp b/scene/gui/box_container.cpp
index 95e796ab5..f31f51a5c 100644
--- a/scene/gui/box_container.cpp
+++ b/scene/gui/box_container.cpp
@@ -280,7 +280,7 @@ BoxContainer::AlignMode BoxContainer::get_alignment() const {
void BoxContainer::add_spacer(bool p_begin) {
Control *c = memnew( Control );
- c->set_mouse_filter(MOUSE_FILTER_PASS);
+ c->set_mouse_filter(MOUSE_FILTER_PASS); //allow spacer to pass mouse events
if (vertical)
c->set_v_size_flags(SIZE_EXPAND_FILL);