Merge branch 'beta'

This commit is contained in:
Ali
2019-12-20 21:05:50 +04:00
143 changed files with 667 additions and 492 deletions

View File

@@ -891,7 +891,7 @@ final class InstantPageControllerNode: ASDisplayNode, UIScrollViewDelegate {
self.present(controller, ContextMenuControllerPresentationArguments(sourceNodeAndRect: { [weak self] in
if let strongSelf = self {
for (_, itemNode) in strongSelf.visibleItemsWithNodes {
if let (node, _) = itemNode.transitionNode(media: media) {
if let (node, _, _) = itemNode.transitionNode(media: media) {
return (strongSelf.scrollNode, node.convert(node.bounds, to: strongSelf.scrollNode), strongSelf, strongSelf.bounds)
}
}