Skip to content

Commit

Permalink
fix smoothscroll
Browse files Browse the repository at this point in the history
  • Loading branch information
ali322 committed Apr 1, 2016
1 parent b1f7c3e commit 64cc8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dom/smoothscroll.es6
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64cc8c5

Please sign in to comment.