Skip to content

Commit 35924de

Browse files
committed
2 parents ec809bb + b57cf38 commit 35924de

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

BlurUIKit/VariableBlurView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ public class VariableBlurView: UIVisualEffectView {
135135
private func commonInit() {
136136
// Disable interaction so touches will pass through it
137137
isUserInteractionEnabled = false
138+
clipsToBounds = false
138139
}
139140

140141
// MARK: - View Lifecycle
@@ -198,6 +199,7 @@ public class VariableBlurView: UIVisualEffectView {
198199
let imageView = UIImageView()
199200
imageView.tintColor = dimmingTintColor
200201
contentView.addSubview(imageView)
202+
contentView.clipsToBounds = false
201203

202204
dimmingView = imageView
203205
setNeedsUpdate()

0 commit comments

Comments
 (0)