Commit dc553e4a by Daniel Dahan

updated pulseView defaults

parent aa5b61e9
......@@ -94,7 +94,7 @@ public class MaterialPulseView: MaterialView {
super.prepareView()
userInteractionEnabled = MaterialTheme.pulseView.userInteractionEnabled
backgroundColor = MaterialTheme.pulseView.backgroudColor
pulseColor = MaterialColor.white
pulseColor = MaterialTheme.pulseView.pulseColor
}
//
......
......@@ -78,7 +78,7 @@ public extension MaterialTheme.pulseView {
public static let shadowColor: UIColor = MaterialTheme.view.shadowColor
// shape
public static let masksToBounds: Bool = MaterialTheme.view.masksToBounds
public static let masksToBounds: Bool = true
public static let cornerRadius: MaterialRadius = MaterialTheme.view.cornerRadius
// border
......@@ -87,6 +87,7 @@ public extension MaterialTheme.pulseView {
// color
public static let backgroudColor: UIColor = MaterialColor.clear
public static let pulseColor: UIColor = MaterialColor.white
// interaction
public static let userInteractionEnabled: Bool = MaterialTheme.view.userInteractionEnabled
......
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