Verified Commit 375d0bee authored by asahiocean's avatar asahiocean 🚀
Browse files

removed spaces

parent 26a2d6c3
......@@ -5,7 +5,7 @@ extension UIButton {
let animation = CAKeyframeAnimation(keyPath: "transform.translation.x")
animation.timingFunction = .init(name: .linear)
animation.duration = 0.5
animation.values = [-15, 15, -15, 15, -5, 5, -2.5, 2.5, 0]
animation.values = [-15,15,-15,15,-5,5,-2.5,2.5,0]
layer.add(animation, forKey: "shake")
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment