Closed wenkokke closed 7 years ago
The library doesn't check for 0 input for the "amount of work done", meaning that if you call any of the progressBar functions with 0 as the 4th argument:
0
progressBar
progressBar prefLbl postLbl windowHeight workDone workTotal
You get a nice prefLbl [exe: Ratio has zero denominator error.
prefLbl [exe: Ratio has zero denominator
That should definitely be fixed. Thanks for the report!
The problem was in the percentage label function. It is now fixed and a regression test was added. Thanks again!
percentage
The library doesn't check for
0
input for the "amount of work done", meaning that if you call any of theprogressBar
functions with0
as the 4th argument:You get a nice
prefLbl [exe: Ratio has zero denominator
error.