Skip to content

Commit cee320a

Browse files
authored
Merge pull request #108 from charlymr/master
Fixed #105
2 parents 63b422f + bb382e5 commit cee320a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Classes/ProgressViews/M13ProgressViewRing.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,13 @@ - (void)layoutSubviews
359359
if (!_backgroundRingWidthOverriden) {
360360
_backgroundRingWidth = fmaxf((float)self.frame.size.width * .025f, 1.0);
361361
}
362+
_backgroundLayer.lineWidth = _backgroundRingWidth;
363+
362364
if (!_progressRingWidthOverriden) {
363365
_progressRingWidth = _backgroundRingWidth * 3;
364366
}
365-
367+
_progressLayer.lineWidth = _progressRingWidth;
368+
366369
//Redraw
367370
[self setNeedsDisplay];
368371
}

0 commit comments

Comments
 (0)