Set max value for progress task properly

Also clamp the task value if it's greater than the max value.

Closes #163
This commit is contained in:
Patrik Svensson
2020-12-12 16:58:39 +01:00
committed by Patrik Svensson
parent acf01e056f
commit 63abcc92ba
3 changed files with 32 additions and 2 deletions