Fix modal hitTest

This commit is contained in:
Peter 2019-10-07 17:13:26 +04:00
parent 09e2e16353
commit 40911cd2dd

View File

@ -85,7 +85,7 @@ final class NavigationOverlayContainer: ASDisplayNode {
}
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
if let result = self.controller.displayNode.hitTest(point, with: event) {
if let result = self.controller.view.hitTest(point, with: event) {
return result
}
return nil