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

Rename ProgressBar.percent_visible to show_percentage #65038

Closed

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Aug 29, 2022

Judging by this comment's confusion, #64665 (comment), a rename may be needed, even if it may not be this one #64665 (comment).

For ProgressBar:
percent_visible -> show_percentage
set_percent_visible -> set_show_percentage
is_percent_visible -> is_percentage_shown

Note that this is no longer truly "required", because Label and RichTextLabel's percent_visible, an entirely different and unrelated property, had its name changed already in the aforementioned PR.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

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

Approved in PR review meeting.

`percent_visible` -> `show_percentage`
`set_percent_visible` -> `set_show_percentage`
`is_percent_visible` -> `is_percentage_shown`
@akien-mga
Copy link
Member

Thanks!

Merged manually as 08c2aab (should have been auto-closed and shown as merged but I wrongly rebased locally after doing a local merge...).

@akien-mga akien-mga closed this Sep 7, 2022
@Mickeon Mickeon deleted the rename-progressbar-percent branch September 7, 2022 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

None yet

3 participants