diff --git a/lib/timeline/component/ItemSet.js b/lib/timeline/component/ItemSet.js index 5e615b7af..9363ec3fc 100644 --- a/lib/timeline/component/ItemSet.js +++ b/lib/timeline/component/ItemSet.js @@ -267,7 +267,7 @@ ItemSet.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}); // single select (or unselect) when tapping an item this.hammer.on('tap', this._onSelectItem.bind(this));