Skip to content
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

Preserve RichTextLabel's text while modyfing Custom Effects #38383

Conversation

dreamsComeTrue
Copy link
Contributor

Handling Text and BBCode's text in RichTextLabel is really complicated - one is dependent on the other (basically, top Text area in the Inspector can wok on its own, as long as you don't put anything into BBCode's text area - then it will replicate any text change to the top Text field) - that PR doesn't fix that, as it is bigger rework how that Control should work internally.

What that PR fixes, is - whenever there is a change to the Custom Effects array, then it'll preserve 'top' Text as it was entered before.

Fixes: #38284

@akien-mga
Copy link
Member

According to #38284 (comment) the bug was fixed in 3.4, so this probably not needed anymore. Thanks for the contribution nevertheless!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting the text of a RichTextLabel by changing the size of its Custom Effects array within the editor
3 participants