-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Rename JustifyText
to Justify
#19522
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
base: main
Are you sure you want to change the base?
Conversation
JustifyText
to Justify
JustifyText
to Justify
It looks like your PR is a breaking change, but you didn't provide a migration guide. Please review the instructions for writing migration guides, then expand or revise the content in the migration guides directory to reflect your changes. |
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.
LGTM once there's a migration guide file :)
Objective
Rename
JustifyText
:JustifyText
is just ugly.bevy_text
types have aText-
suffix, only prefix.Linebreak
which doesn't have a prefix or suffix.Fixes #19521.
Solution
Rename
JustifyText
toJustify
.Without other context, it's natural to assume the name
Justify
refers to text justification.