iconGrid: Fix latest commit

Wrong copy/paste, the "out" direction should use max distance between
source actor and original actor animating as latest item.
This commit is contained in:
Carlos Soriano 2014-09-06 14:07:22 +02:00
parent 02870e5363
commit 5bd4329b11

View File

@ -551,7 +551,7 @@ const IconGrid = new Lang.Class({
delay: delay, delay: delay,
opacity: 255 }; opacity: 255 };
} else { } else {
let isLastItem = actor._distance == minDist; let isLastItem = actor._distance == maxDist;
let [startX, startY] = actor._transformedPosition; let [startX, startY] = actor._transformedPosition;
actorClone.set_position(startX, startY); actorClone.set_position(startX, startY);