Perf: remove unnecessary shadows and mask views
This commit is contained in:
@@ -47,6 +47,9 @@ class ToolbarView: UIView
|
||||
override func layoutSubviews()
|
||||
{
|
||||
super.layoutSubviews()
|
||||
|
||||
let shadowPath = UIBezierPath(rect: bounds)
|
||||
layer.shadowPath = shadowPath.cgPath
|
||||
|
||||
backgroundView.frame = bounds
|
||||
|
||||
|
||||
Reference in New Issue
Block a user