-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
RichTextLabel: Adding ability for single meta hovering #12984
RichTextLabel: Adding ability for single meta hovering #12984
Conversation
7e4b189
to
2a142dd
Compare
There shouldn't be any problem since the function in question is already calling You might be able to get a hover signal sent out on a recurring basis. Maybe just in the |
The design of signals is to be discrete, I don't think a |
My mistake. Yeah, basically I needed to have access to the No function caching here (I wish, that'd be a cool feature), just me not picking up on what you meant initially. Also, I agree with you guys on not including a hovering signal. When I next get a chance, I'll try to fix the clang format issues. My plugin for it just doesn't seem to work. Will try to use something else or will make the necessary changes manually if need be. |
Oh woops, and people should note that the signal names are past tense, |
ffaabc7
to
4a18fb1
Compare
4a18fb1
to
eaea646
Compare
Can you post the code for the example in the GIF? I can't find documentation for this. |
@HummusSamurai sure.
|
I've updated documentation in a separate merge as well, so when they next generate the docs, it will have full descriptions. |
@willnationsdev Thank you! |
This will enable
meta_hover_start
andmeta_hover_end
events which also have the meta attached as a parameter. It supports only a single meta tag.Note that the use of
current_meta
for line 930 of the .cpp was only needed because the attached meta kept on printing as an empty array on the scripting side when I tried just usingmeta_hovering->meta
. Not quite sure why. If there is a way to remove the use ofcurrent_meta
though, I'd be all for it.