Commit 3b3a471d by Daniel Dahan

formatting

parent 9beb7ebf
...@@ -133,9 +133,16 @@ public class FabButton : MaterialButton { ...@@ -133,9 +133,16 @@ public class FabButton : MaterialButton {
} }
func shrink() { func shrink() {
UIView.animateWithDuration(0.3, delay: 0.0, usingSpringWithDamping: 0.2, initialSpringVelocity: 10, options: nil, animations: { UIView.animateWithDuration(0.3,
self.transform = CGAffineTransformIdentity delay: 0.0,
}, completion: nil) usingSpringWithDamping: 0.2,
initialSpringVelocity: 10,
options: nil,
animations: {
self.transform = CGAffineTransformIdentity
},
completion: nil
)
} }
func removePulse() { func removePulse() {
......
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