Accept calling bar(0) and even bar(-X)
luewh opened this issue · comments
luewh commented
I have to check the progress each periode of time then update the bar with pregression difference, but this value could be 0, so it updated 1 while it doesn't need.
I can add a condition to check if it is 0 but it would be logical to not increment when call bar(0).
Rogério Almeida commented
Yes, it makes sense. Also, it would be on par with the manual mode bar
, which does accept 0.
(float) as input.
I'll do it on the next release.