Nirzar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197437

Change subject: Article page scroll rate has been normalized
......................................................................

Article page scroll rate has been normalized

Article scrolling is smoother and the scroll rate is same as native ios 
scrolling.

Change-Id: I5688c12bab8ff410b2f2971b8797743c647f856c
---
M wikipedia/View Controllers/WebView/WebViewController.m
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/ios/wikipedia 
refs/changes/37/197437/1

diff --git a/wikipedia/View Controllers/WebView/WebViewController.m 
b/wikipedia/View Controllers/WebView/WebViewController.m
index 1bfb409..a1ae981 100644
--- a/wikipedia/View Controllers/WebView/WebViewController.m
+++ b/wikipedia/View Controllers/WebView/WebViewController.m
@@ -45,6 +45,8 @@
     self.scrollingToTop = NO;
 
     [self scrollIndicatorSetup];
+    
+    self.webView.scrollView.decelerationRate = 
UIScrollViewDecelerationRateNormal;
 
     self.panSwipeRecognizer = nil;
 

-- 
To view, visit https://gerrit.wikimedia.org/r/197437
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5688c12bab8ff410b2f2971b8797743c647f856c
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Nirzar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to