Remove redundant space after enum/flags word in editor docs

This commit is contained in:
Yuri Rubinsky 2024-02-27 17:09:55 +03:00
parent a586e860e5
commit f7c3c9f987

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