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.

@Mickeon Mickeon requested review from a team as code owners August 29, 2022 13:25
@YuriSizov YuriSizov added this to the 4.0 milestone Aug 29, 2022
@Mickeon Mickeon force-pushed the rename-progressbar-percent branch from a759972 to e08469e Compare August 29, 2022 14:09
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.

@Mickeon Mickeon force-pushed the rename-progressbar-percent branch from e08469e to 16b4ef1 Compare September 7, 2022 07:57
`percent_visible` -> `show_percentage`
`set_percent_visible` -> `set_show_percentage`
`is_percent_visible` -> `is_percentage_shown`
@Mickeon Mickeon force-pushed the rename-progressbar-percent branch from 16b4ef1 to f0916a4 Compare September 7, 2022 07:58
@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.

3 participants