You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix regression with enum descriptions now showing up in documentation.
(cherry picked from commit d48636c3bf)
This commit is contained in:
committed by
Yuri Sizov
parent
705c1d6bdf
commit
a0366f1cea
@@ -1367,7 +1367,7 @@ void EditorHelp::_update_doc() {
|
||||
class_desc->add_newline();
|
||||
|
||||
// Enum description.
|
||||
if (e != "@unnamed_enums" && cd.enums.has(e)) {
|
||||
if (e != "@unnamed_enums" && cd.enums.has(e) && !cd.enums[e].strip_edges().is_empty()) {
|
||||
class_desc->push_color(theme_cache.text_color);
|
||||
_push_normal_font();
|
||||
class_desc->push_indent(1);
|
||||
|
||||
Reference in New Issue
Block a user