Fixing annoying bug where widget would drop to side page
Change-Id: I7e8bf298e01666fe29abc322b45f2538569c5ed9
This commit is contained in:
1 parent
55952e2f53
commit
82ac8a2488
1 file changed
+1
-2
@@ -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