Store panels and docks singletons in their own classes
This commit is contained in:
parent
8fc0dd9997
commit
aa1102fc53
36 changed files with 228 additions and 213 deletions
|
|
@ -627,7 +627,7 @@ void EditorPropertyArray::_reorder_button_gui_input(const Ref<InputEvent> &p_eve
|
|||
}
|
||||
vbox->move_child(reorder_selected_element_hbox, reorder_to_index % page_length + 2);
|
||||
// Ensure the moving element is visible.
|
||||
EditorNode::get_singleton()->get_inspector()->ensure_control_visible(reorder_selected_element_hbox);
|
||||
InspectorDock::get_inspector_singleton()->ensure_control_visible(reorder_selected_element_hbox);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue