Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba819628 authored by Selim Cinek's avatar Selim Cinek
Browse files

Adapted the minimum velocity amount needed to perform an overscroll

Change-Id: I4dfe36e0eae3647631e21782f2b2ece56260a82a
parent 8d9ff9c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -758,7 +758,7 @@ public class NotificationStackScrollLayout extends ViewGroup
                final int range = getScrollRange();
                if (y < 0 && oldY >= 0 || y > range && oldY <= range) {
                    float currVelocity = mScroller.getCurrVelocity();
                    if (currVelocity >= mMinimumVelocity * 20) {
                    if (currVelocity >= mMinimumVelocity) {
                        mMaxOverScroll = Math.abs(currVelocity) / 1000 * mOverflingDistance;
                    }
                }