1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-22 06:19:03 +01:00

fix: Don't delay touches ended

This commit is contained in:
Marcus Kida 2022-11-17 15:45:25 +01:00
parent 60d9d3537d
commit e8e8a2a4c9
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -148,7 +148,7 @@ extension SidebarViewController {
let sidebarDoubleTapGestureRecognizer = UITapGestureRecognizer()
sidebarDoubleTapGestureRecognizer.numberOfTapsRequired = 2
sidebarDoubleTapGestureRecognizer.addTarget(self, action: #selector(SidebarViewController.sidebarDoubleTapGestureRecognizerHandler(_:)))
sidebarDoubleTapGestureRecognizer.delaysTouchesBegan = true
sidebarDoubleTapGestureRecognizer.delaysTouchesEnded = false
sidebarDoubleTapGestureRecognizer.cancelsTouchesInView = true
collectionView.addGestureRecognizer(sidebarDoubleTapGestureRecognizer)