1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Editor: Fix categories and tooltips in TileSet editor

This commit is contained in:
Danil Alexeev
2024-05-14 10:23:14 +03:00
parent 557f63d037
commit 5a5b18c2fc
6 changed files with 27 additions and 22 deletions

View File

@@ -3699,12 +3699,8 @@ void EditorHelpBit::set_custom_text(const String &p_type, const String &p_name,
}
}
void EditorHelpBit::prepend_description(const String &p_text) {
if (help_data.description.is_empty()) {
help_data.description = p_text;
} else {
help_data.description = p_text + "\n" + help_data.description;
}
void EditorHelpBit::set_description(const String &p_text) {
help_data.description = p_text;
if (is_inside_tree()) {
_update_labels();