mrackwitz/MRProgress — pull request #63 by frankus (2014-09-15 17:51:30+00:00)
Title: Inset progress line by half its width

I found that setting a thicker `lineWidth` caused the progress circle to end up partially outside the border. This doesn't look great IMO, and isn't consistent with e.g. the download progress in the Music app.

This change allows a thicker `lineWidth` value to be used with any `borderWidth` value. As the line width grows, the radius shrinks so that it never ends up partially outside the border.

It preserves the half-pixel overlap of the original so that a little gap doesn't appear between the border and the progress circle.