Commit 4e64b67f by Daniel Dahan

updated to defaults

parent 3c9a67d4
......@@ -45,7 +45,7 @@ public class MaterialButton : UIButton {
*/
public var y: CGFloat! {
didSet {
layer.bounds.origin = CGPointMake(x, y)
layer.bounds.origin.y = y
}
}
......
......@@ -38,7 +38,7 @@ public extension MaterialTheme.view {
// shadow
public static let shadowDepth: MaterialShadow = .Depth0
public static let shadowColor: UIColor = MaterialColor.blueGrey.darken4
public static let shadowColor: UIColor = MaterialColor.black
// shape
public static let masksToBounds: Bool = false
......
......@@ -90,7 +90,7 @@ public class MaterialView: UIView {
*/
public var y: CGFloat! {
didSet {
layer.bounds.origin = CGPointMake(x, y)
layer.bounds.origin.y = y
}
}
......
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