Fix bug with estimate drop cell offset
Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
This commit is contained in:
parent
440c360bc3
commit
6d5c6ecb5f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue