diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-06 12:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 12:23:39 +0100 |
commit | f003b3efaa1719bf97c99f95d6073caf463ee572 (patch) | |
tree | a72a991cc3ce5c047d5a076b37f97cfe6cbbe7b8 /scene/gui/container.cpp | |
parent | d705f780988149598b463e3a43c27bef3d0e3030 (diff) | |
parent | e2bebfbd4ca04682724b9e768db35865bb445216 (diff) |
Merge pull request #35068 from akien-mga/containers-mouse-filter-pass
Use MOUSE_FILTER_PASS for all containers
Diffstat (limited to 'scene/gui/container.cpp')
-rw-r--r-- | scene/gui/container.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/container.cpp b/scene/gui/container.cpp index b07fec90c2..b411f563b8 100644 --- a/scene/gui/container.cpp +++ b/scene/gui/container.cpp @@ -197,4 +197,6 @@ void Container::_bind_methods() { Container::Container() { pending_sort = false; + // All containers should let mouse events pass by default. + set_mouse_filter(MOUSE_FILTER_PASS); } |