Skip to content

Commit

Permalink
Update Core.js
Browse files Browse the repository at this point in the history
Changed threshold directions to fix almende#3003
  • Loading branch information
daRoof committed Apr 17, 2019
1 parent 9abf05b commit 8288810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Core.prototype._create = function (container) {
this.hammer = new Hammer(this.dom.root);
var pinchRecognizer = this.hammer.get('pinch').set({enable: true});
hammerUtil.disablePreventDefaultVertically(pinchRecognizer);
this.hammer.get('pan').set({threshold:5, direction: Hammer.DIRECTION_HORIZONTAL});
this.hammer.get('pan').set({threshold:5, direction: Hammer.DIRECTION_ALL});
this.listeners = {};

var events = [
Expand Down

0 comments on commit 8288810

Please sign in to comment.