Fixes 1543726. Double-clicking Home should not make the workspace disappear. This was caused by the workspace optimization that draws only what is thought to be the current celllayout.
This commit is contained in:
1 parent
51afc022fa
commit
82d94d9e9e
1 file changed
+2
@@ -833,6 +833,8 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
|
||||
}
|
||||
|
||||
void snapToScreen(int whichScreen) {
|
||||
if (!mScroller.isFinished()) return;
|
||||
|
||||
enableChildrenCache();
|
||||
|
||||
whichScreen = Math.max(0, Math.min(whichScreen, getChildCount() - 1));
|
||||
|
||||
Reference in new issue
Block a user