|
|
@ -377,6 +377,8 @@ |
|
|
|
this._lastX = (touch || evt).clientX; |
|
|
|
this._lastX = (touch || evt).clientX; |
|
|
|
this._lastY = (touch || evt).clientY; |
|
|
|
this._lastY = (touch || evt).clientY; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dragEl.style['will-change'] = 'transform'; |
|
|
|
|
|
|
|
|
|
|
|
dragStartFn = function () { |
|
|
|
dragStartFn = function () { |
|
|
|
// Delayed drag has been triggered
|
|
|
|
// Delayed drag has been triggered
|
|
|
|
// we can re-enable the events: touchmove/mousemove
|
|
|
|
// we can re-enable the events: touchmove/mousemove
|
|
|
@ -835,6 +837,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_disableDraggable(dragEl); |
|
|
|
_disableDraggable(dragEl); |
|
|
|
|
|
|
|
dragEl.style['will-change'] = ''; |
|
|
|
|
|
|
|
|
|
|
|
// Remove class's
|
|
|
|
// Remove class's
|
|
|
|
_toggleClass(dragEl, this.options.ghostClass, false); |
|
|
|
_toggleClass(dragEl, this.options.ghostClass, false); |
|
|
|