adjusment
This commit is contained in:
parent
15a51bd86f
commit
eda9379e37
@ -72,12 +72,12 @@ open class LoadingSpinner: View {
|
||||
class var poses: [Pose] {
|
||||
get {
|
||||
return [
|
||||
Pose(0.0, 0.000, 0.8),
|
||||
Pose(0.6, 0.500, 0.5),
|
||||
Pose(0.0, 0.000, 0.7),
|
||||
Pose(0.7, 0.500, 0.5),
|
||||
Pose(0.6, 1.000, 0.3),
|
||||
Pose(0.6, 1.500, 0.1),
|
||||
Pose(0.2, 1.875, 0.1),
|
||||
Pose(0.2, 2.250, 0.3),
|
||||
Pose(0.4, 1.500, 0.2),
|
||||
Pose(0.3, 1.875, 0.2),
|
||||
Pose(0.3, 2.250, 0.3),
|
||||
Pose(0.2, 2.625, 0.5),
|
||||
Pose(0.2, 3.000, 0.7)
|
||||
]
|
||||
@ -118,6 +118,7 @@ open class LoadingSpinner: View {
|
||||
animation.calculationMode = .linear
|
||||
animation.duration = duration
|
||||
animation.rotationMode = .rotateAuto
|
||||
animation.fillMode = .forwards
|
||||
animation.isRemovedOnCompletion = false
|
||||
animation.repeatCount = .infinity
|
||||
layer.add(animation, forKey: animation.keyPath)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user