File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
submodules/TelegramUI/Components/GlassBarButtonComponent/Sources Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,9 @@ public final class GlassBarButtonComponent: Component {
145145 guard let result = super. hitTest ( point, with: event) else {
146146 return nil
147147 }
148+ if result === self . glassContainerView || result === self . genericContainerView {
149+ return self . containerView
150+ }
148151 return result
149152 }
150153
@@ -280,7 +283,6 @@ public final class GlassBarButtonComponent: Component {
280283 }
281284
282285 if let glassBackgroundView = self . glassBackgroundView {
283- self . containerView. isUserInteractionEnabled = false
284286 if self . containerView. superview !== glassBackgroundView. contentView {
285287 glassBackgroundView. contentView. addSubview ( self . containerView)
286288 }
You can’t perform that action at this time.
0 commit comments