Use MOUSE_FILTER_PASS for all containers (but PanelContainer)

Containers are meant to forward mouse input to their the Controls
they contain.

PanelContainer has a visible Panel stylebox, so it still defaults
to STOP.

Fixes #34933.
This commit is contained in:
Rémi Verschelde
2020-01-13 08:55:16 +01:00
parent 7a15569c6f
commit e2bebfbd4c
8 changed files with 5 additions and 11 deletions

View File

@@ -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);
}