mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Make EditorProperty and its child EditorProperties behave more like sibling nodes
Let `EditorProperty::gui_input()` no longer handle mouse events that
occur in the child EditorProperty rect.
(cherry picked from commit 62aa4a6f9e)
This commit is contained in:
@@ -430,7 +430,6 @@ void EditorPropertyArray::update_property() {
|
||||
|
||||
if (!container) {
|
||||
container = memnew(PanelContainer);
|
||||
container->set_mouse_filter(MOUSE_FILTER_STOP);
|
||||
add_child(container);
|
||||
set_bottom_editor(container);
|
||||
|
||||
@@ -1208,7 +1207,6 @@ void EditorPropertyDictionary::update_property() {
|
||||
|
||||
if (!container) {
|
||||
container = memnew(PanelContainer);
|
||||
container->set_mouse_filter(MOUSE_FILTER_STOP);
|
||||
add_child(container);
|
||||
set_bottom_editor(container);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user