Fix poll options view blocking context menu gesture

Closes #387
This commit is contained in:
Shadowfacts 2023-05-27 14:59:26 -07:00
parent 32c5eee0b5
commit 13a807ba4f
1 changed files with 5 additions and 1 deletions

View File

@ -105,7 +105,11 @@ class PollOptionsView: UIControl {
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
// don't let subviews receive touch events
if isEnabled {
return self
} else {
return nil
}
}
// MARK: - UIControl