Attach menu improvements

This commit is contained in:
Ilya Laktyushin
2022-02-27 00:06:59 +04:00
parent b8e0fe64f2
commit 82104445dd
5 changed files with 51 additions and 20 deletions

View File

@@ -227,6 +227,7 @@ final class MediaPickerSelectedListNode: ASDisplayNode, UIScrollViewDelegate, UI
self.scrollNode.view.delegate = self
self.scrollNode.view.panGestureRecognizer.cancelsTouchesInView = true
self.scrollNode.view.showsVerticalScrollIndicator = false
self.view.addGestureRecognizer(ReorderingGestureRecognizer(shouldBegin: { [weak self] point in
if let strongSelf = self, !strongSelf.scrollNode.view.isDragging {