Merge pull request #88911 from Chaosus/fix_editor_help

Remove redundant space after enum/flags word in editor docs
This commit is contained in:
Rémi Verschelde 2024-02-27 21:23:10 +01:00
commit 2a056329f5
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1622,9 +1622,9 @@ void EditorHelp::_update_doc() {
enum_line[E.key] = class_desc->get_paragraph_count() - 2;
class_desc->push_color(theme_cache.title_color);
if (E.value.size() && E.value[0].is_bitfield) {
class_desc->add_text("flags ");
class_desc->add_text("flags ");
} else {
class_desc->add_text("enum ");
class_desc->add_text("enum ");
}
class_desc->pop(); // color