diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-15 10:24:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 10:24:11 +0200 |
commit | 57867d8ae349a63fe44978f2b9e13e29dff4f028 (patch) | |
tree | 2581a7d99914ef27bb0e448a95c3d5abdb0859db /editor/scene_tree_dock.cpp | |
parent | 2126f4d85f52e966f680536af3eb864fd552ca08 (diff) | |
parent | f85eb4164a211134a145217f9078deb633ade9e1 (diff) |
Merge pull request #62060 from fire-forge/h-offset
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r-- | editor/scene_tree_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index 9646462ead..08df4cdf3c 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2655,7 +2655,7 @@ void SceneTreeDock::_add_children_to_popup(Object *p_obj, int p_depth) { } int index = menu_subresources->get_item_count(); menu_subresources->add_icon_item(icon, E.name.capitalize(), EDIT_SUBRESOURCE_BASE + subresources.size()); - menu_subresources->set_item_h_offset(index, p_depth * 10 * EDSCALE); + menu_subresources->set_item_horizontal_offset(index, p_depth * 10 * EDSCALE); subresources.push_back(obj->get_instance_id()); _add_children_to_popup(obj, p_depth + 1); |