mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 09:38:19 +00:00
Add springs when snapping between pages on the workspace.
- Behind feature flag QUICKSTEP_SPRINGS - Springs control settling the page and allow for overscroll for the first/last pages Bug: 111698021 Change-Id: Ib4a9ef59463cc46e31ac0766bf7705612f6c63c1
This commit is contained in:
@@ -996,7 +996,7 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
|
||||
@Override
|
||||
protected void overScroll(int amount) {
|
||||
boolean shouldScrollOverlay = mLauncherOverlay != null &&
|
||||
boolean shouldScrollOverlay = mLauncherOverlay != null && !mScroller.isSpringing() &&
|
||||
((amount <= 0 && !mIsRtl) || (amount >= 0 && mIsRtl));
|
||||
|
||||
boolean shouldZeroOverlay = mLauncherOverlay != null && mLastOverlayScroll != 0 &&
|
||||
|
||||
Reference in New Issue
Block a user