fixed: adding app shortcuts caused overlapping

icons
This commit is contained in:
Michael Jurka
2010-09-28 13:57:39 -07:00
parent e17e19c0bd
commit 7ded67cd64
+1 -1
View File
@@ -1085,7 +1085,7 @@ public class Workspace extends SmoothPagedView
if (view == null) {
cellLayout.onDragExit();
} else {
mTargetCell = findNearestVacantArea(x, y, 1, 1, view, cellLayout, mTargetCell);
mTargetCell = findNearestVacantArea(x, y, 1, 1, null, cellLayout, mTargetCell);
addInScreen(view, indexOfChild(cellLayout), mTargetCell[0],
mTargetCell[1], info.spanX, info.spanY, insertAtFirst);
cellLayout.onDropChild(view);