Reaction improvements

This commit is contained in:
Ali
2021-12-19 19:12:19 +04:00
parent 884a31987c
commit 42773dbe01
13 changed files with 91 additions and 27 deletions

View File

@@ -1146,6 +1146,13 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
}
return super.hitTest(point, with: event)
}
func hasTapAction(at point: CGPoint) -> Bool {
if let _ = self.dateAndStatusNode.hitTest(self.view.convert(point, to: self.dateAndStatusNode.view), with: nil) {
return true
}
return false
}
}