Removed center

This commit is contained in:
Lucas Farah 2016-02-23 17:32:22 -08:00
parent 9f35eb7371
commit 2cdf192ffe
1 changed files with 0 additions and 2 deletions

View File

@ -277,9 +277,7 @@ extension UIView {
//EZSE: Converts view to a circular frame
public func makeCircular() {
let cntr:CGPoint = self.center
self.layer.cornerRadius = min(self.frame.size.height, self.frame.size.width) / 2.0
self.center = cntr
}
}