diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2023-01-11 01:14:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 01:14:58 +0100 |
commit | 54688a753589a2104e31cf2265a254cad48715ba (patch) | |
tree | 32a445e54e85419a27875b0095e4038b6cf4d5d8 /editor/plugins/sprite_frames_editor_plugin.cpp | |
parent | b65c5bccfa787929acc265308a0714ecbb179359 (diff) | |
parent | e6a4debede608808d2aac5985a1ad8415d5dc7cd (diff) |
Merge pull request #71127 from reduz/drag-forward-to-callables
Change set_drag_forwarding() to use callables.
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index 66892372cf..7603a5e55d 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -1408,7 +1408,7 @@ SpriteFramesEditor::SpriteFramesEditor() { frame_list->set_max_columns(0); frame_list->set_icon_mode(ItemList::ICON_MODE_TOP); frame_list->set_max_text_lines(2); - frame_list->set_drag_forwarding(this); + frame_list->set_drag_forwarding_compat(this); frame_list->connect("gui_input", callable_mp(this, &SpriteFramesEditor::_frame_list_gui_input)); frame_list->connect("item_selected", callable_mp(this, &SpriteFramesEditor::_frame_list_item_selected)); |