From 82888107536f45a8bdb8b6b5b464a430aebdf235 Mon Sep 17 00:00:00 2001 From: daRoof <35702045+daRoof@users.noreply.github.com> Date: Wed, 17 Apr 2019 22:29:45 +0200 Subject: [PATCH] Update Core.js Changed threshold directions to fix #3003 --- lib/timeline/Core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timeline/Core.js b/lib/timeline/Core.js index 134c1580b..d7951b7e5 100644 --- a/lib/timeline/Core.js +++ b/lib/timeline/Core.js @@ -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 = [