Another attempt to fix empty URL bar

This commit is contained in:
James Magahern
2023-08-10 19:52:59 -07:00
parent 3f5d608908
commit a4c6caeb8e
6 changed files with 66 additions and 15 deletions

View File

@@ -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)