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.
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