You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -571,14 +575,14 @@ open class EMPageViewController: UIViewController, UIScrollViewDelegate {
571
575
572
576
ifself.isOrientationHorizontal {
573
577
if(self.beforeViewController !=nil && self.afterViewController !=nil) || // It isn't at the beginning or end of the page collection
574
-
(self.afterViewController !=nil && self.beforeViewController ==nil && scrollView.contentOffset.x >fabs(scrollView.contentInset.left)) || // If it's at the beginning of the collection, the decelleration can't be triggered by scrolling away from, than torwards the inset
575
-
(self.beforeViewController !=nil && self.afterViewController ==nil && scrollView.contentOffset.x <fabs(scrollView.contentInset.right)){ // Same as the last condition, but at the end of the collection
578
+
(self.afterViewController !=nil && self.beforeViewController ==nil && scrollView.contentOffset.x >abs(scrollView.contentInset.left)) || // If it's at the beginning of the collection, the decelleration can't be triggered by scrolling away from, than torwards the inset
579
+
(self.beforeViewController !=nil && self.afterViewController ==nil && scrollView.contentOffset.x <abs(scrollView.contentInset.right)){ // Same as the last condition, but at the end of the collection
if(self.beforeViewController !=nil && self.afterViewController !=nil) || // It isn't at the beginning or end of the page collection
580
-
(self.afterViewController !=nil && self.beforeViewController ==nil && scrollView.contentOffset.y >fabs(scrollView.contentInset.top)) || // If it's at the beginning of the collection, the decelleration can't be triggered by scrolling away from, than torwards the inset
581
-
(self.beforeViewController !=nil && self.afterViewController ==nil && scrollView.contentOffset.y <fabs(scrollView.contentInset.bottom)){ // Same as the last condition, but at the end of the collection
584
+
(self.afterViewController !=nil && self.beforeViewController ==nil && scrollView.contentOffset.y >abs(scrollView.contentInset.top)) || // If it's at the beginning of the collection, the decelleration can't be triggered by scrolling away from, than torwards the inset
585
+
(self.beforeViewController !=nil && self.afterViewController ==nil && scrollView.contentOffset.y <abs(scrollView.contentInset.bottom)){ // Same as the last condition, but at the end of the collection
0 commit comments