progressed.io icon indicating copy to clipboard operation
progressed.io copied to clipboard

Allow progress up to 99999.

Open kaj opened this issue 7 years ago • 2 comments

I hope this fixes #15.

kaj avatar May 09 '17 11:05 kaj

Thanks for the PR. I suppose bar width will not be adjusted correctly but let me try it.

fehmicansaglam avatar May 10 '17 12:05 fehmicansaglam

Hm. Maybe width should be capped to progressWidth? As it is, I don't think progress > 999 is a problem, but progress > scale won't look too good.

So maybe something like this on ProgressedIOServiceActor.scala line 28:

val width = progressWidth * min(progress, scale) / scale

?

kaj avatar May 10 '17 12:05 kaj