Fix HUDButton hitTest method
This commit is contained in:
parent
7553b0aae6
commit
cd9e013a40
|
@ -68,6 +68,10 @@ public class HUDButton: UIView {
|
|||
}
|
||||
|
||||
public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
button
|
||||
if self.point(inside: point, with: event) {
|
||||
return button
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue