design
This commit is contained in:
parent
c6cfe39c30
commit
bc9b54c1d1
@ -41,7 +41,7 @@ open class LoadingSpinner: View {
|
|||||||
layer.fillColor = nil
|
layer.fillColor = nil
|
||||||
layer.strokeColor = strokeColor.cgColor
|
layer.strokeColor = strokeColor.cgColor
|
||||||
layer.lineWidth = lineWidth
|
layer.lineWidth = lineWidth
|
||||||
layer.lineCap = .round
|
layer.lineCap = .butt
|
||||||
layer.speed = speed
|
layer.speed = speed
|
||||||
let halfWidth = lineWidth / 2
|
let halfWidth = lineWidth / 2
|
||||||
let radius = (bounds.width - lineWidth) / 2
|
let radius = (bounds.width - lineWidth) / 2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user