1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-11 05:05:23 +03:00

Remove extra piece

This commit is contained in:
Alisa Mylnikova 2019-07-02 15:42:53 +07:00
parent 6f65cf8cc8
commit 7d30237600

View File

@ -51,9 +51,6 @@ class AnimationUtils {
// Clip
if let clip = AbsoluteUtils.absoluteClip(renderer) {
let maskLayer = CAShapeLayer()
let origPath = clip.toCGPath()
var offsetTransform = CGAffineTransform(translationX: 0, y: 0)
let clipPath = origPath.mutableCopy(using: &offsetTransform)
maskLayer.path = clip.toCGPath()
layer.mask = maskLayer
}