|
@ -1211,6 +1211,7 @@ ItemSet.prototype._onDragStart = function (event) { |
|
|
|
|
|
|
|
|
var dragLeftItem = this.touchParams.dragLeftItem; |
|
|
var dragLeftItem = this.touchParams.dragLeftItem; |
|
|
var dragRightItem = this.touchParams.dragRightItem; |
|
|
var dragRightItem = this.touchParams.dragRightItem; |
|
|
|
|
|
this.touchParams.itemIsDragging = true; |
|
|
|
|
|
|
|
|
if (dragLeftItem) { |
|
|
if (dragLeftItem) { |
|
|
props = { |
|
|
props = { |
|
@ -1494,6 +1495,7 @@ ItemSet.prototype._onDragEnd = function (event) { |
|
|
var dataset = this.itemsData.getDataSet(); |
|
|
var dataset = this.itemsData.getDataSet(); |
|
|
var itemProps = this.touchParams.itemProps ; |
|
|
var itemProps = this.touchParams.itemProps ; |
|
|
this.touchParams.itemProps = null; |
|
|
this.touchParams.itemProps = null; |
|
|
|
|
|
this.touchParams.itemIsDragging = false; |
|
|
|
|
|
|
|
|
itemProps.forEach(function (props) { |
|
|
itemProps.forEach(function (props) { |
|
|
var id = props.item.id; |
|
|
var id = props.item.id; |
|
|