diff options
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/launcher3/Workspace.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java index 9813e6ca0..ecf618c4b 100644 --- a/src/com/android/launcher3/Workspace.java +++ b/src/com/android/launcher3/Workspace.java @@ -1337,7 +1337,7 @@ public class Workspace extends SmoothPagedView float mAnimationStartOffset; private final int ANIMATION_DURATION = 250; // Don't use all the wallpaper for parallax until you have at least this many pages - private final int MIN_PARALLAX_PAGE_SPAN = 2; + private final int MIN_PARALLAX_PAGE_SPAN = 3; int mNumScreens; boolean mCompletedInitialOffset; @@ -1391,7 +1391,7 @@ public class Workspace extends SmoothPagedView private float wallpaperOffsetForCurrentScroll() { if (getChildCount() <= 1) { - return mWallpaperIsLiveWallpaper ? 0 : 0.5f; + return 0; } // Exclude the leftmost page |