Commit b445f62f by Daniel Dahan

updated pulse views

parent b52dc86e
......@@ -418,8 +418,6 @@ public class MaterialButton : UIButton {
*/
public func prepareView() {
// pulseLayer
pulseLayer.hidden = true
pulseLayer.zPosition = 1
materialLayer.visualLayer.addSublayer(pulseLayer)
}
......
......@@ -304,9 +304,9 @@ public class MaterialLayer : CAShapeLayer {
*/
public func prepareLayer() {
// visualLayer
// masksToBounds = true
// visualLayer.zPosition = -1
// addSublayer(visualLayer)
masksToBounds = true
visualLayer.zPosition = -1
addSublayer(visualLayer)
}
//
......
......@@ -152,8 +152,6 @@ public class MaterialPulseView : MaterialView {
borderColor = MaterialTheme.pulseView.bordercolor
// pulseLayer
pulseLayer.hidden = true
pulseLayer.zPosition = 1
materialLayer.visualLayer.addSublayer(pulseLayer)
}
......
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