From 8b718ce50b7c24cca790bca4b22ecba967c6192d Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 17 Dec 2022 17:55:05 -0500 Subject: [PATCH] Only allow continuous scroll gestures to dismiss gallery --- .../Transitions/LargeImageInteractionController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Large Image/Transitions/LargeImageInteractionController.swift b/Tusker/Screens/Large Image/Transitions/LargeImageInteractionController.swift index 1706255d..4f8618b0 100644 --- a/Tusker/Screens/Large Image/Transitions/LargeImageInteractionController.swift +++ b/Tusker/Screens/Large Image/Transitions/LargeImageInteractionController.swift @@ -20,7 +20,7 @@ class LargeImageInteractionController: UIPercentDrivenInteractiveTransition { super.init() self.viewController = viewController let panRecognizer = UIPanGestureRecognizer(target: self, action: #selector(handleGesture(_:))) - panRecognizer.allowedScrollTypesMask = .all + panRecognizer.allowedScrollTypesMask = .continuous viewController.view.addGestureRecognizer(panRecognizer) }