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

[3.x] Fix RichTextLabel meta link detection when used inside a fill tag #54114

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

timothyqiu
Copy link
Member

Fixes #35040.

This PR simply adds align_ofs when checking the mouse's X position. The diff looks huge because of the styling requirement of multiline macro.

The behavior is still different from the "correct" version in 4.0, as the spaces between meta link words are not considered clickable (it's consistent with how the underline looks though 😛). It's a separate issue in 3.x about how the fill tag interacts with underlines.

@timothyqiu timothyqiu requested a review from a team as a code owner October 22, 2021 08:50
@Rubonnek Rubonnek added this to the 3.5 milestone Oct 22, 2021
@akien-mga akien-mga modified the milestones: 3.5, 3.4 Oct 22, 2021
@akien-mga akien-mga merged commit 72fb4d7 into godotengine:3.x Oct 22, 2021
@akien-mga
Copy link
Member

Thanks!

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.

3 participants