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:
parent
6f65cf8cc8
commit
7d30237600
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user