From d7aec85cb968d06eaa1c2335883d82c38ac6dfba Mon Sep 17 00:00:00 2001 From: chemzqm Date: Thu, 18 Feb 2016 03:30:09 +0800 Subject: [PATCH] increase deceleration --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 763a74e..4f3c011 100644 --- a/lib/index.js +++ b/lib/index.js @@ -247,7 +247,7 @@ Iscroll.prototype.ontouchend = function(e) { * @api private */ Iscroll.prototype.momentum = function() { - var deceleration = 0.0004 + var deceleration = 0.0008 var speed = this.speed speed = min(speed, 0.8) var y = this.y