mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-24 09:10:59 +00:00
Add shadow path
This commit is contained in:
parent
fbfebd240e
commit
aa8bbf6dcd
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ final class NewItemsView: UIView {
|
|||
|
||||
layer.cornerRadius = cornerRadius
|
||||
blurView.layer.cornerRadius = cornerRadius
|
||||
layer.shadowPath = UIBezierPath(roundedRect: layer.bounds, cornerRadius: cornerRadius).cgPath
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue