File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -918,6 +918,9 @@ void EditorProperty::gui_input(const Ref<InputEvent> &p_event) {
918
918
919
919
if (me.is_valid ()) {
920
920
Vector2 mpos = me->get_position ();
921
+ if (bottom_child_rect.has_point (mpos)) {
922
+ return ; // Makes child EditorProperties behave like sibling nodes.
923
+ }
921
924
if (is_layout_rtl ()) {
922
925
mpos.x = get_size ().x - mpos.x ;
923
926
}
@@ -2715,8 +2718,6 @@ VBoxContainer *EditorInspectorArray::get_vbox(int p_index) {
2715
2718
EditorInspectorArray::EditorInspectorArray (bool p_read_only) {
2716
2719
read_only = p_read_only;
2717
2720
2718
- set_mouse_filter (Control::MOUSE_FILTER_STOP);
2719
-
2720
2721
odd_style.instantiate ();
2721
2722
even_style.instantiate ();
2722
2723
Original file line number Diff line number Diff line change @@ -3302,12 +3302,11 @@ void EditorPropertyResource::update_property() {
3302
3302
sub_inspector->set_read_only (is_read_only ());
3303
3303
sub_inspector->set_use_folding (is_using_folding ());
3304
3304
3305
- sub_inspector->set_draw_focus_border ( false );
3305
+ sub_inspector->set_focus_mode (FocusMode::FOCUS_NONE );
3306
3306
3307
3307
sub_inspector->set_use_filter (use_filter);
3308
3308
sub_inspector->register_text_enter (parent_inspector->search_box );
3309
3309
3310
- sub_inspector->set_mouse_filter (MOUSE_FILTER_STOP);
3311
3310
add_child (sub_inspector);
3312
3311
set_bottom_editor (sub_inspector);
3313
3312
Original file line number Diff line number Diff line change @@ -430,7 +430,6 @@ void EditorPropertyArray::update_property() {
430
430
431
431
if (!container) {
432
432
container = memnew (PanelContainer);
433
- container->set_mouse_filter (MOUSE_FILTER_STOP);
434
433
add_child (container);
435
434
set_bottom_editor (container);
436
435
@@ -1208,7 +1207,6 @@ void EditorPropertyDictionary::update_property() {
1208
1207
1209
1208
if (!container) {
1210
1209
container = memnew (PanelContainer);
1211
- container->set_mouse_filter (MOUSE_FILTER_STOP);
1212
1210
add_child (container);
1213
1211
set_bottom_editor (container);
1214
1212
You can’t perform that action at this time.
0 commit comments