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:
parent
60d9d3537d
commit
e8e8a2a4c9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user