diff options
author | Cerno_b <cerno.b@gmail.com> | 2023-11-11 14:49:44 +0100 |
---|---|---|
committer | Cerno_b <cerno.b@gmail.com> | 2023-11-12 10:53:44 +0100 |
commit | 9a684cf199e71edb9fb48bd9d3a2560fc5ed232b (patch) | |
tree | 592b89ccfc6afb0cfae62495fd1e75991dca0862 /editor/plugins/canvas_item_editor_plugin.cpp | |
parent | e38686f85b768a451dc06324fe2471adc8665448 (diff) | |
download | redot-engine-9a684cf199e71edb9fb48bd9d3a2560fc5ed232b.tar.gz |
Clarify description of "group selected"
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index 85846d7bc6..74e9d01bf6 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -5323,7 +5323,7 @@ CanvasItemEditor::CanvasItemEditor() { group_button->set_theme_type_variation("FlatButton"); main_menu_hbox->add_child(group_button); group_button->connect("pressed", callable_mp(this, &CanvasItemEditor::_popup_callback).bind(GROUP_SELECTED)); - group_button->set_tooltip_text(TTR("Make selected node's children not selectable.")); + group_button->set_tooltip_text(TTR("Groups the selected node with its children. This causes the parent to be selected when any child node is clicked in 2D and 3D view.")); // Define the shortcut globally (without a context) so that it works if the Scene tree dock is currently focused. group_button->set_shortcut(ED_SHORTCUT("editor/group_selected_nodes", TTR("Group Selected Node(s)"), KeyModifierMask::CMD_OR_CTRL | Key::G)); @@ -5331,7 +5331,7 @@ CanvasItemEditor::CanvasItemEditor() { ungroup_button->set_theme_type_variation("FlatButton"); main_menu_hbox->add_child(ungroup_button); ungroup_button->connect("pressed", callable_mp(this, &CanvasItemEditor::_popup_callback).bind(UNGROUP_SELECTED)); - ungroup_button->set_tooltip_text(TTR("Make selected node's children selectable.")); + ungroup_button->set_tooltip_text(TTR("Ungroups the selected node from its children. Child nodes will be individual items in 2D and 3D view.")); // Define the shortcut globally (without a context) so that it works if the Scene tree dock is currently focused. ungroup_button->set_shortcut(ED_SHORTCUT("editor/ungroup_selected_nodes", TTR("Ungroup Selected Node(s)"), KeyModifierMask::CMD_OR_CTRL | KeyModifierMask::SHIFT | Key::G)); |