lib/ProMotion/web/web_screen_module.rb in ProMotion-1.2.0 vs lib/ProMotion/web/web_screen_module.rb in ProMotion-1.2.1
- old
+ new
@@ -21,10 +21,10 @@
frame: CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height),
resize: [ :width, :height ],
delegate: self,
data_detector_types: self.detector_types
}
-
+ self.webview.scrollView.decelerationRate = UIScrollViewDecelerationRateNormal
set_initial_content
end
def web
self.webview