1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

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

@@ -247,7 +247,5 @@ Size2 GridContainer::get_minimum_size() const {
}
GridContainer::GridContainer() {
set_mouse_filter(MOUSE_FILTER_PASS);
columns = 1;
}