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:
parent
d0437d5052
commit
62aa4a6f9e
3 changed files with 4 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue