Fix handle hit test

This commit is contained in:
Ali 2021-10-25 19:06:28 +04:00
parent 6f72bcdfe8
commit 574d9feefe

View File

@ -1572,6 +1572,12 @@ final class PeerInfoVisualMediaPaneNode: ASDisplayNode, PeerInfoPaneNode, UIScro
return false
}
if let result = strongSelf.view.hitTest(point, with: nil) {
if result.asyncdisplaykit_node is SparseItemGridScrollingArea {
return false
}
}
strongSelf.currentGestureItem = item
return true