Skip to content

Commit d89587a

Browse files
committed
Improve comments
1 parent 71e2629 commit d89587a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Authenticator/Source/OTPProgressRing.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ private class RingLayer: CAShapeLayer {
104104

105105
override func layoutSublayers() {
106106
super.layoutSublayers()
107+
108+
// Inset the ring to draw within the layer's bounds.
107109
let halfLineWidth = lineWidth / 2
108110
let ringRect = bounds.insetBy(dx: halfLineWidth, dy: halfLineWidth)
109111

0 commit comments

Comments
 (0)