From 2cac59fbfacb51e0206255e51165d8746456922e Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 26 Jul 2023 14:22:26 +0200 Subject: [PATCH] Add tooltips for tile source types --- editor/plugins/tiles/tile_set_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/tiles/tile_set_editor.cpp b/editor/plugins/tiles/tile_set_editor.cpp index fe02e3096c56..8c41858d629c 100644 --- a/editor/plugins/tiles/tile_set_editor.cpp +++ b/editor/plugins/tiles/tile_set_editor.cpp @@ -881,7 +881,9 @@ TileSetEditor::TileSetEditor() { sources_add_button->set_flat(false); sources_add_button->set_theme_type_variation("FlatButton"); sources_add_button->get_popup()->add_item(TTR("Atlas")); + sources_add_button->get_popup()->set_item_tooltip(-1, TTR("A palette of tiles made from a texture.")); sources_add_button->get_popup()->add_item(TTR("Scenes Collection")); + sources_add_button->get_popup()->set_item_tooltip(-1, TTR("A collection of scenes that can be instantiated and placed as tiles.")); sources_add_button->get_popup()->connect("id_pressed", callable_mp(this, &TileSetEditor::_source_add_id_pressed)); sources_bottom_actions->add_child(sources_add_button);