Commit b445f62f by Daniel Dahan

updated pulse views

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