mirror of
https://github.com/godotengine/godot
synced 2024-11-02 08:53:46 +00:00
Add tooltips for tile source types
This commit is contained in:
parent
86bf8354a0
commit
2cac59fbfa
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue