diff options
-rw-r--r-- | src/com/android/launcher2/Workspace.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 701b33b93..f8e3f5afd 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -1984,7 +1984,8 @@ public class Workspace extends SmoothPagedView mLauncher.getDragLayer().getLocationInDragLayer(child, mTempXY); final int dragLayerX = (int) mTempXY[0] + (child.getWidth() - bmpWidth) / 2; - final int dragLayerY = (int) mTempXY[1] + (child.getHeight() - bmpHeight) / 2; + int dragLayerY = (int) mTempXY[1] + (child.getHeight() - bmpHeight) / 2; + dragLayerY -= (child.getHeight() - b.getHeight()) / 2; Rect dragRect = null; if (child instanceof BubbleTextView) { |