We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a0abf8 + 13ed593 commit eeb5d77Copy full SHA for eeb5d77
Pastel/Classes/PastelView.swift
@@ -103,7 +103,7 @@ open class PastelView: UIView {
103
let animation = CABasicAnimation(keyPath: Animation.keyPath)
104
animation.duration = animationDuration
105
animation.toValue = currentGradientSet()
106
- animation.fillMode = kCAFillModeForwards
+ animation.fillMode = .forwards
107
animation.isRemovedOnCompletion = false
108
animation.delegate = self
109
gradient.add(animation, forKey: Animation.key)
0 commit comments