summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/launcher2/CellLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CellLayout.java b/src/com/android/launcher2/CellLayout.java
index 3f60d5047..62ede4d33 100644
--- a/src/com/android/launcher2/CellLayout.java
+++ b/src/com/android/launcher2/CellLayout.java
@@ -704,7 +704,7 @@ public class CellLayout extends ViewGroup {
final int countX = getCountX();
final int countY = getCountY();
- pointToCellRounded(originX + (mCellWidth / 2), originY + (mCellHeight / 2), result);
+ pointToCellRounded(originX, originY, result);
// If the item isn't fully on this screen, snap to the edges
int rightOverhang = result[0] + spanX - countX;