mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Fix bug with estimate drop cell offset
Change-Id: I9b8370a858dab7d656bbfb1897e469ef4f2aec06
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user