Re-implement story display

This commit is contained in:
Ali
2023-07-01 17:56:25 +02:00
parent e5e5bc1eac
commit d6434fa17f
11 changed files with 334 additions and 127 deletions

View File

@@ -136,6 +136,8 @@ public class InteractiveTransitionGestureRecognizer: UIPanGestureRecognizer {
let size = self.view?.bounds.size ?? CGSize()
print("moved: \(CFAbsoluteTimeGetCurrent()) absTranslationX: \(absTranslationX) absTranslationY: \(absTranslationY)")
if self.currentAllowedDirections.contains(.down) {
if !self.validatedGesture {
if absTranslationX > 2.0 && absTranslationX > absTranslationY * 2.0 {