Skip to content

Commit 52fc7af

Browse files
committed
oomph it when it's presented for both play and pause
1 parent 323aa2c commit 52fc7af

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Pod/Classes/SVGPlayButton.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,14 @@ private let kInnerRadiusScaleFactor = CGFloat(0.05)
224224
playShapeLayer.hidden = true
225225
pauseShapeLayerLeft.hidden = false
226226
pauseShapeLayerRight.hidden = false
227+
self.animate()
227228
}
228229

229230
private func presentForPaused() {
230231
playShapeLayer.hidden = false
231232
pauseShapeLayerLeft.hidden = true
232233
pauseShapeLayerRight.hidden = true
234+
self.animate()
233235
}
234236

235237
private func animate() {

0 commit comments

Comments
 (0)