Another attempt to fix empty URL bar
This commit is contained in:
@@ -46,6 +46,8 @@ class ReliefButton: UIButton
|
||||
}
|
||||
})
|
||||
|
||||
self.imageView?.contentMode = .scaleAspectFit
|
||||
|
||||
shadowView.alpha = 0.28
|
||||
shadowView.backgroundColor = UIColor(white: 0.0, alpha: 1.0)
|
||||
shadowView.isUserInteractionEnabled = false
|
||||
@@ -132,8 +134,6 @@ class ReliefButton: UIButton
|
||||
}
|
||||
|
||||
override func layoutSubviews() {
|
||||
self.imageView?.contentMode = .scaleAspectFit
|
||||
|
||||
super.layoutSubviews()
|
||||
|
||||
sendSubviewToBack(backgroundView)
|
||||
|
||||
Reference in New Issue
Block a user