Add shadow path

This commit is contained in:
Justin Mazzocchi 2021-02-28 15:45:39 -08:00
parent fbfebd240e
commit aa8bbf6dcd
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ final class NewItemsView: UIView {
layer.cornerRadius = cornerRadius
blurView.layer.cornerRadius = cornerRadius
layer.shadowPath = UIBezierPath(roundedRect: layer.bounds, cornerRadius: cornerRadius).cgPath
}
}