From 5bd4329b1125bce6962bfa584ac8f6c4b94abf4e Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Sat, 6 Sep 2014 14:07:22 +0200 Subject: [PATCH] iconGrid: Fix latest commit Wrong copy/paste, the "out" direction should use max distance between source actor and original actor animating as latest item. --- js/ui/iconGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 5e2cf7fe4..13a87c3b7 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -551,7 +551,7 @@ const IconGrid = new Lang.Class({ delay: delay, opacity: 255 }; } else { - let isLastItem = actor._distance == minDist; + let isLastItem = actor._distance == maxDist; let [startX, startY] = actor._transformedPosition; actorClone.set_position(startX, startY);