diff options
| author | letheed | 2017-09-10 15:37:49 +0200 |
|---|---|---|
| committer | letheed | 2017-09-20 13:11:10 +0200 |
| commit | 5ad9be4c24e9d7dc5672fdc42cea896622fe5685 (patch) | |
| tree | a8811a50265edd940b00e12b9bd522e3e9b4694e /editor/create_dialog.cpp | |
| parent | ecd226c6a751f8a20766363fd1f2e1e0e2da8fba (diff) | |
| download | godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.gz godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.tar.zst godot-5ad9be4c24e9d7dc5672fdc42cea896622fe5685.zip | |
Diffstat (limited to 'editor/create_dialog.cpp')
| -rw-r--r-- | editor/create_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index 33734957e..bb5f5e917 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -513,7 +513,7 @@ void CreateDialog::_favorite_activated() { Variant CreateDialog::get_drag_data_fw(const Point2 &p_point, Control *p_from) { - TreeItem *ti = favorites->get_item_at_pos(p_point); + TreeItem *ti = favorites->get_item_at_position(p_point); if (ti) { Dictionary d; d["type"] = "create_favorite_drag"; @@ -544,12 +544,12 @@ void CreateDialog::drop_data_fw(const Point2 &p_point, const Variant &p_data, Co Dictionary d = p_data; - TreeItem *ti = favorites->get_item_at_pos(p_point); + TreeItem *ti = favorites->get_item_at_position(p_point); if (!ti) return; String drop_at = ti->get_text(0); - int ds = favorites->get_drop_section_at_pos(p_point); + int ds = favorites->get_drop_section_at_position(p_point); int drop_idx = favorite_list.find(drop_at); if (drop_idx < 0) |
