Merge pull request #29231 from AlexHoratio/method_list_drag_fix

Fix method list to no longer forwards drag commands to script list
This commit is contained in:
Rémi Verschelde 2019-05-28 10:20:59 +02:00 committed by GitHub
commit 2f1de365fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3055,7 +3055,6 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
members_overview->set_custom_minimum_size(Size2(0, 90) * EDSCALE); //need to give a bit of limit to avoid it from disappearing members_overview->set_custom_minimum_size(Size2(0, 90) * EDSCALE); //need to give a bit of limit to avoid it from disappearing
members_overview->set_v_size_flags(SIZE_EXPAND_FILL); members_overview->set_v_size_flags(SIZE_EXPAND_FILL);
members_overview->set_allow_rmb_select(true); members_overview->set_allow_rmb_select(true);
members_overview->set_drag_forwarding(this);
help_overview = memnew(ItemList); help_overview = memnew(ItemList);
overview_vbox->add_child(help_overview); overview_vbox->add_child(help_overview);