Browse Source

fix: #2422 Timeline onMove callback (#2427)

* Fix redraw order
* Fix calling dragStart mote than once
readme-improvements
yotamberk 8 years ago
committed by Alexander Wunschik
parent
commit
58cc1d93e6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lib/timeline/component/ItemSet.js

+ 1
- 0
lib/timeline/component/ItemSet.js View File

@ -1213,6 +1213,7 @@ ItemSet.prototype._getGroupIndex = function(groupId) {
* @private * @private
*/ */
ItemSet.prototype._onDragStart = function (event) { ItemSet.prototype._onDragStart = function (event) {
if (this.touchParams.itemIsDragging) { return; }
var item = this.touchParams.item || null; var item = this.touchParams.item || null;
var me = this; var me = this;
var props; var props;

Loading…
Cancel
Save