mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
Remove set_drag_forwarding_compat()
This commit is contained in:
commit
bcaf048f33
33 changed files with 34 additions and 152 deletions
|
|
@ -1247,9 +1247,6 @@ void SpriteFramesEditor::drop_data_fw(const Point2 &p_point, const Variant &p_da
|
|||
|
||||
void SpriteFramesEditor::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_update_library", "skipsel"), &SpriteFramesEditor::_update_library, DEFVAL(false));
|
||||
ClassDB::bind_method(D_METHOD("_get_drag_data_fw"), &SpriteFramesEditor::get_drag_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_can_drop_data_fw"), &SpriteFramesEditor::can_drop_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_drop_data_fw"), &SpriteFramesEditor::drop_data_fw);
|
||||
}
|
||||
|
||||
SpriteFramesEditor::SpriteFramesEditor() {
|
||||
|
|
@ -1408,7 +1405,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_compat(this);
|
||||
SET_DRAG_FORWARDING_GCD(frame_list, SpriteFramesEditor);
|
||||
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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue