From 58cc1d93e601a82f3962959173393ff8802a2dd8 Mon Sep 17 00:00:00 2001 From: yotamberk Date: Fri, 9 Dec 2016 19:56:48 +0200 Subject: [PATCH] fix: #2422 Timeline onMove callback (#2427) * Fix redraw order * Fix calling dragStart mote than once --- lib/timeline/component/ItemSet.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/timeline/component/ItemSet.js b/lib/timeline/component/ItemSet.js index a7e50cd2..5ae07ade 100644 --- a/lib/timeline/component/ItemSet.js +++ b/lib/timeline/component/ItemSet.js @@ -1213,6 +1213,7 @@ ItemSet.prototype._getGroupIndex = function(groupId) { * @private */ ItemSet.prototype._onDragStart = function (event) { + if (this.touchParams.itemIsDragging) { return; } var item = this.touchParams.item || null; var me = this; var props;