mirror of
https://github.com/godotengine/godot.git
synced 2024-09-22 15:32:36 +00:00
Merge pull request #34349 from timothyqiu/enum-scope
Show full enum name when not on the same doc page
This commit is contained in:
commit
d8d96c9fa7
|
@ -798,7 +798,7 @@ void EditorHelp::_update_doc() {
|
||||||
class_desc->pop();
|
class_desc->pop();
|
||||||
class_desc->push_font(doc_code_font);
|
class_desc->push_font(doc_code_font);
|
||||||
String e = E->key();
|
String e = E->key();
|
||||||
if (e.get_slice_count(".")) {
|
if ((e.get_slice_count(".") > 1) && (e.get_slice(".", 0) == edited_class)) {
|
||||||
e = e.get_slice(".", 1);
|
e = e.get_slice(".", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user