Skip to content

Commit 32b4a3d

Browse files
Fix rotation animations on C4ShapeLayer (fix #613)
1 parent 529a794 commit 32b4a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: C4/UI/C4ShapeLayer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class C4ShapeLayer: CAShapeLayer {
4141
return nil
4242
}
4343

44-
let animatableProperties = ["lineWidth", "strokeEnd", "strokeStart", "strokeColor", "path", "fillColor", "lineDashPhase", "contents"]
44+
let animatableProperties = ["lineWidth", "strokeEnd", "strokeStart", "strokeColor", "path", "fillColor", "lineDashPhase", "contents", C4Layer.rotationKey]
4545
if !animatableProperties.contains(key) {
4646
return super.actionForKey(key)
4747
}

0 commit comments

Comments
 (0)