This commit is contained in:
Kevin G Christiano 2020-05-26 14:21:49 -04:00
parent c6cfe39c30
commit bc9b54c1d1

View File

@ -41,7 +41,7 @@ open class LoadingSpinner: View {
layer.fillColor = nil
layer.strokeColor = strokeColor.cgColor
layer.lineWidth = lineWidth
layer.lineCap = .round
layer.lineCap = .butt
layer.speed = speed
let halfWidth = lineWidth / 2
let radius = (bounds.width - lineWidth) / 2