diff options
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 478b261e9..9813e6ca0 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -1390,7 +1390,7 @@ public class Workspace extends SmoothPagedView } private float wallpaperOffsetForCurrentScroll() { - if (getNumScreensExcludingEmptyAndCustom() <= 1) { + if (getChildCount() <= 1) { return mWallpaperIsLiveWallpaper ? 0 : 0.5f; } |