Fix report peer title panel

This commit is contained in:
Ali
2021-06-12 22:50:15 +04:00
parent 581475d666
commit 3a40025624
3 changed files with 25 additions and 20 deletions

View File

@@ -7,6 +7,12 @@ private var backArrowImageCache: [Int32: UIImage] = [:]
public final class SparseNode: ASDisplayNode {
override public func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
for view in self.view.subviews {
if let result = view.hitTest(self.view.convert(point, to: view), with: event) {
return result
}
}
let result = super.hitTest(point, with: event)
if result != self.view {
return result