Further improve HUDButton contrast

This commit is contained in:
Jed Fox 2022-12-23 11:31:53 -05:00
parent b8b59674f3
commit d0812f4275
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 2 additions and 2 deletions

View File

@ -12,13 +12,13 @@ public class HUDButton: UIView {
public static let height: CGFloat = 30
let background: UIVisualEffectView = {
let backgroundView = UIVisualEffectView(effect: UIBlurEffect(style: .systemThinMaterial))
let backgroundView = UIVisualEffectView(effect: UIBlurEffect(style: .systemMaterial))
backgroundView.layer.masksToBounds = true
backgroundView.layer.cornerRadius = HUDButton.height * 0.5
return backgroundView
}()
let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect(blurEffect: UIBlurEffect(style: .systemThinMaterial)))
let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect(blurEffect: UIBlurEffect(style: .systemMaterial)))
public let button: UIButton = {
let button = HighlightDimmableButton()