Commit 98e3100d by Daniel Dahan

formatting

parent 3b3a471d
...@@ -126,10 +126,13 @@ public class FabButton : MaterialButton { ...@@ -126,10 +126,13 @@ public class FabButton : MaterialButton {
pulseView!.center = touchLocation pulseView!.center = touchLocation
pulseView!.backgroundColor = pulseColor!.colorWithAlphaComponent(0.5) pulseView!.backgroundColor = pulseColor!.colorWithAlphaComponent(0.5)
backgroundColorView!.addSubview(pulseView!) backgroundColorView!.addSubview(pulseView!)
UIView.animateWithDuration(0.3, animations: { UIView.animateWithDuration(0.3,
self.pulseView!.transform = CGAffineTransformMakeScale(3, 3) animations: {
self.transform = CGAffineTransformMakeScale(1.1, 1.1) self.pulseView!.transform = CGAffineTransformMakeScale(3, 3)
}, completion: nil) self.transform = CGAffineTransformMakeScale(1.1, 1.1)
},
completion: nil
)
} }
func shrink() { func shrink() {
......
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