Various fixes
This commit is contained in:
parent
b80fb9acc9
commit
c93e02a58e
1 changed files with 3 additions and 1 deletions
|
|
@ -145,6 +145,9 @@ public final class GlassBarButtonComponent: Component {
|
|||
guard let result = super.hitTest(point, with: event) else {
|
||||
return nil
|
||||
}
|
||||
if result === self.glassContainerView || result === self.genericContainerView {
|
||||
return self.containerView
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
@ -280,7 +283,6 @@ public final class GlassBarButtonComponent: Component {
|
|||
}
|
||||
|
||||
if let glassBackgroundView = self.glassBackgroundView {
|
||||
self.containerView.isUserInteractionEnabled = false
|
||||
if self.containerView.superview !== glassBackgroundView.contentView {
|
||||
glassBackgroundView.contentView.addSubview(self.containerView)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue