X Tutup
Skip to content

Round ProgressBar percentage instead of truncating#113531

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
aaronp64:progress_bar_round
Dec 3, 2025
Merged

Round ProgressBar percentage instead of truncating#113531
Repiteo merged 1 commit intogodotengine:masterfrom
aaronp64:progress_bar_round

Conversation

@aaronp64
Copy link
Contributor

@aaronp64 aaronp64 commented Dec 3, 2025

Updated to round before converting ratio to int, to make percentage display more accurate

Fixes #113529

Updated to round before converting ratio to int, to make percentage display more accurate
@aaronp64 aaronp64 requested a review from a team as a code owner December 3, 2025 21:34
@akien-mga akien-mga added this to the 4.6 milestone Dec 3, 2025
@Repiteo Repiteo merged commit db077a4 into godotengine:master Dec 3, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Dec 3, 2025

Thanks!

@aaronp64 aaronp64 deleted the progress_bar_round branch December 4, 2025 04:15
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.

Progress Bar shows 28% when value is 29, min is 0 or 1, and max is 100

3 participants

X Tutup