diff --git a/js/ui/dnd.js b/js/ui/dnd.js index 0562c7cbd..23af7ba95 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -374,7 +374,8 @@ var _Draggable = class _Draggable { this._finishAnimation(); this._dragActor = null; - this._dragState = DragState.CANCELLED; + if (this._dragState == DragState.DRAGGING) + this._dragState = DragState.CANCELLED; }); this._dragOrigOpacity = this._dragActor.opacity; if (this._dragActorOpacity != undefined)