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

Remove override_selected_font_color property #67888

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Oct 25, 2022

Fixes #45301
Color(0, 0, 0, 0) (default) is now used to disable text selected color. If you want transparent selected font, you can just use another transparent color, so it's not a problem.

@KoBeWi KoBeWi added this to the 4.0 milestone Oct 25, 2022
@KoBeWi KoBeWi requested review from a team as code owners October 25, 2022 22:48
Copy link
Member

@bruvzg bruvzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same should be done for RichTextLabel.

@KoBeWi
Copy link
Member Author

KoBeWi commented Oct 26, 2022

Done for RichTextLabel.
Also seems like the property was ignored, so I also fixed a bug.

@clayjohn
Copy link
Member

Is this something that we are okay breaking compatibility for this late in the release cycle? Paulb23's comment in #45301 (comment) makes me think that this might impact some users workflow

@KoBeWi
Copy link
Member Author

KoBeWi commented Oct 27, 2022

this might impact some users workflow

Any compatibility breakage might impact some workflow, so it's about severity. This change is low impact, because default stays the same and Color(0,0,0,0) being "invalid" only affects people who used transparent font color (which is rather unlikely use-case...).

@akien-mga akien-mga merged commit 8b1a42c into godotengine:master Oct 31, 2022
@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.

Theme property "colors/font_color_selected" has no effect for TextEdit
5 participants