Fix bug with estimate drop cell offset

Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
This commit is contained in:
Patrick Dubroy 2010-07-14 11:14:47 -07:00
parent 440c360bc3
commit 6d5c6ecb5f
1 changed files with 1 additions and 1 deletions

View File

@ -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;