mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
always show display name of the property if the doc is empty
This commit is contained in:
@@ -1101,7 +1101,7 @@ impl InspectorContext {
|
||||
}
|
||||
|
||||
let description = if info.doc.is_empty() {
|
||||
info.doc.to_string()
|
||||
info.display_name.to_string()
|
||||
} else {
|
||||
format!("{}\n\n{}", info.display_name, info.doc)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user