mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
This commit is contained in:
@@ -411,7 +411,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
pos[0] += (getMeasuredWidth() - mWidgetSpacingLayout.getMeasuredWidth()) / 2 +
|
||||
offset[0];
|
||||
pos[1] += offset[1] - mLauncher.getDragLayer().getPaddingTop();
|
||||
mLauncher.showFirstRunAllAppsCling(pos);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -792,9 +791,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
public void run() {
|
||||
// We don't enter spring-loaded mode if the drag has been cancelled
|
||||
if (mLauncher.getDragController().isDragging()) {
|
||||
// Dismiss the cling
|
||||
mLauncher.dismissAllAppsCling(null);
|
||||
|
||||
// Reset the alpha on the dragged icon before we drag
|
||||
resetDrawableState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user