Skip to content

Commit

Permalink
Update CustomTime.js
Browse files Browse the repository at this point in the history
Changed threshold directions to fix almende#3003.
  • Loading branch information
daRoof authored Apr 17, 2019
1 parent 8b5acf0 commit 2ca61fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/component/CustomTime.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ CustomTime.prototype._create = function() {
this.hammer.on('panstart', this._onDragStart.bind(this));
this.hammer.on('panmove', this._onDrag.bind(this));
this.hammer.on('panend', this._onDragEnd.bind(this));
this.hammer.get('pan').set({ threshold: 5, direction: Hammer.DIRECTION_HORIZONTAL });
this.hammer.get('pan').set({ threshold: 5, direction: Hammer.DIRECTION_ALL });
}
};

Expand Down

0 comments on commit 2ca61fd

Please sign in to comment.