mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Fix issue where you could page to -1 during spring loaded drag (issue 10640529)
Change-Id: I487c871af4ec4412ee4edc74ce58947e54ccd43b
This commit is contained in:
@@ -2951,6 +2951,11 @@ public class Workspace extends SmoothPagedView
|
||||
float smallestDistSoFar = Float.MAX_VALUE;
|
||||
|
||||
for (int i = 0; i < screenCount; i++) {
|
||||
// The custom content screen is not a valid drag over option
|
||||
if (mScreenOrder.get(i) == CUSTOM_CONTENT_SCREEN_ID) {
|
||||
continue;
|
||||
}
|
||||
|
||||
CellLayout cl = (CellLayout) getChildAt(i);
|
||||
|
||||
final float[] touchXy = {originX, originY};
|
||||
|
||||
Reference in New Issue
Block a user