From 64cc8c5a9f28134bbd0486208e7966cc04ddc264 Mon Sep 17 00:00:00 2001 From: chenli Date: Fri, 1 Apr 2016 16:24:00 +0800 Subject: [PATCH] fix smoothscroll --- src/lib/dom/smoothscroll.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/dom/smoothscroll.es6 b/src/lib/dom/smoothscroll.es6 index b966469..9a5bee4 100644 --- a/src/lib/dom/smoothscroll.es6 +++ b/src/lib/dom/smoothscroll.es6 @@ -147,7 +147,7 @@ SmoothScroll.prototype = { } this.moved = true this._translate(newX,newY) - // this.directionLocked = 0 + this.directionLocked = 0 if(timestamp - this.startTime > 300){ this.startTime = timestamp this.startX = this.x