diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js index 8f80bfb3e..9c3671d3c 100644 --- a/js/ui/swipeTracker.js +++ b/js/ui/swipeTracker.js @@ -741,8 +741,8 @@ var SwipeTracker = GObject.registerClass({ if (duration > 0) duration = Math.clamp(duration, MIN_ANIMATION_DURATION, maxDuration); - this.emit('end', duration, endProgress); this._reset(); + this.emit('end', duration, endProgress); } _cancelTouchGesture(_gesture, time, distance) {