Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Fix calculation of progressbar on removed bar #4588

Closed
wants to merge 2 commits into from

Conversation

wesleycho
Copy link
Contributor

This fixes the percentage calculation when a bar is removed.

This fixes #4452, and adds the unit test from #4471, as well as fixes the code style and commit message.

I am not sure why the release commit is listed in the history here, as that is from master and I ran curl ... | git am -3, which should have rebased the original commit on top of master.

Edit: History is fixed

JDeuker and others added 2 commits October 11, 2015 15:26
@Foxandxss
Copy link
Contributor

Seems fine to me Wes. Progressbar is my cursed lib (tests that only fails to me) so /shrug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ProgressController recalculatePercentage bug
3 participants