-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set doc_name
even when categories are hidden in the inspector
#92457
Set doc_name
even when categories are hidden in the inspector
#92457
Conversation
c16477c
to
3a2f38a
Compare
We have 2 ways to refer to a class member in documentation:
That is, if we want to refer to
If links and/or tooltips do not work somewhere, it may be for the following reasons:
Of course, we could take inheritance into account. But then this should be changed not only for properties, but also for other member types. Plus check that other places ( Finally, even if we want to add inheritance considerations for primary links, I think that there is little point in checking this for secondary identifiers. All three references |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good as a hot fix and considering it's already done this way for theme properties. But in the future we should refactor this (again).
We could fix it here: godot/editor/editor_inspector.cpp Lines 2857 to 2961 in dbc6f2a
We should always change |
3a2f38a
to
d7e9c83
Compare
doc_name
even when categories are hidden in the inspector
Otherwise, tooltips will fail to fetch descriptions.
d7e9c83
to
1bfcb6e
Compare
Thanks! |
As far as I'm aware, this bug only happens with thecontent_margin_*
properties inStyleBoxFlat
.See #92457 (comment).