From faf22e15f18479ee84ef15869694cd581df38dc5 Mon Sep 17 00:00:00 2001 From: Brandon Keely Date: Thu, 10 May 2012 16:48:50 -0700 Subject: [PATCH] Ensure that rearranged widgets return to translationY=0 Change-Id: Ic29220624f8103eddfcbcc81d56f355f99322ca0 --- src/com/android/launcher2/CellLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java index ece1870239..e4b5af3b52 100644 --- a/src/com/android/launcher2/CellLayout.java +++ b/src/com/android/launcher2/CellLayout.java @@ -2010,7 +2010,7 @@ public class CellLayout extends ViewGroup { ObjectAnimator.ofFloat(child, "scaleX", 1f), ObjectAnimator.ofFloat(child, "scaleY", 1f), ObjectAnimator.ofFloat(child, "translationX", 0f), - ObjectAnimator.ofFloat(child, "translationX", 0f) + ObjectAnimator.ofFloat(child, "translationY", 0f) ); s.setDuration(REORDER_ANIMATION_DURATION); s.setInterpolator(new android.view.animation.DecelerateInterpolator(1.5f));