* Fired on mousemove.
*
* 'DragDrop2:end'
- * Fired on mousedown.
+ * Fired on mouseup.
*
* 'DragDrop2:start'
- * Fired on mouseup.
+ * Fired when first moved more than 'threshold'.
*
*
* new Drop(element, {
DragDrop.Drags.activate(this);
this.move = 0;
this.wasDragged = false;
+ this.wasMoved = false;
this.lastcaption = null;
-
- this.element.fire('DragDrop2:start', e);
+ this.clickEvent = e;
if (this.options.ghosting || this.options.caption) {
if (!DragDrop.Drags.cover) {
if (++this.move <= this.options.threshold) {
return;
+ } else if (!this.wasMoved) {
+ this.element.fire('DragDrop2:start', this.clickEvent);
+ this.wasMoved = true;
}
this.lastCoord = xy = [ e.pointerX(), e.pointerY() ];