mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +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:
parent
7a15569c6f
commit
e2bebfbd4c
8 changed files with 5 additions and 11 deletions
|
|
@ -139,8 +139,6 @@ EditorAssetLibraryItem::EditorAssetLibraryItem() {
|
|||
|
||||
set_custom_minimum_size(Size2(250, 100) * EDSCALE);
|
||||
set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
set_mouse_filter(MOUSE_FILTER_PASS);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -1452,7 +1450,6 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
|||
library_scroll->add_child(library_vb_border);
|
||||
library_vb_border->add_style_override("panel", border2);
|
||||
library_vb_border->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
library_vb_border->set_mouse_filter(MOUSE_FILTER_PASS);
|
||||
|
||||
library_vb = memnew(VBoxContainer);
|
||||
library_vb->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue