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:
parent
02870e5363
commit
5bd4329b11
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user