Fix progressbar wiggling

This commit is contained in:
Michael Bucari-Tovo 2022-05-14 11:11:51 -06:00
parent 9692a802d0
commit a8bca3de98
2 changed files with 5 additions and 0 deletions

View file

@ -38,6 +38,10 @@ namespace LibationWinForms.ProcessQueue
}
public void SetProgrss(int progress)
{
//Disabvle slow fill
//https://stackoverflow.com/a/5332770/3335599
if (progress < progressBar1.Maximum)
progressBar1.Value = progress + 1;
progressBar1.Value = progress;
}
public void SetRemainingTime(TimeSpan remaining)