Fixing annoying bug where widget would drop to side page
Change-Id: I7e8bf298e01666fe29abc322b45f2538569c5ed9
This commit is contained in:
@@ -2666,8 +2666,7 @@ public class Workspace extends SmoothPagedView
|
||||
|
||||
public void onDragOver(DragObject d) {
|
||||
// Skip drag over events while we are dragging over side pages
|
||||
if (mInScrollArea) return;
|
||||
if (mIsSwitchingState) return;
|
||||
if (mInScrollArea || mIsSwitchingState || mState == State.SMALL) return;
|
||||
|
||||
Rect r = new Rect();
|
||||
CellLayout layout = null;
|
||||
|
||||
Reference in New Issue
Block a user