Pass taps in non actionable views in tooltips to main window

commit_hash:5956c1f9ae13249bbc97b50afd51ea45193c5a2f
This commit is contained in:
burstein
2025-09-21 01:54:27 +03:00
parent 6e3c7b4039
commit 323daffbef
@@ -70,7 +70,15 @@ public final class TooltipContainerView: UIView, UIActionEventPerforming {
}
return nil
} else {
return super.hitTest(point, with: event)
let result = super.hitTest(point, with: event)
if result === tooltip.view {
DispatchQueue.main.async {
self.close(animated: true)
}
return nil
}
return result
}
}