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

Commit f1683631 authored by Mindy Pereira's avatar Mindy Pereira Committed by Android Git Automerger
Browse files

am dd9b079c: Merge "Fix case when user touches the very edge of a view" into klp-dev

* commit 'dd9b079c':
  Fix case when user touches the very edge of a view
parents f73df21a dd9b079c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -531,7 +531,7 @@ public abstract class AutoScrollHelper implements View.OnTouchListener {
            case EDGE_TYPE_INSIDE:
            case EDGE_TYPE_INSIDE_EXTEND:
                if (current < leading) {
                    if (current > 0) {
                    if (current >= 0) {
                        // Movement up to the edge is scaled.
                        return 1f - current / leading;
                    } else if (mActive && (mEdgeType == EDGE_TYPE_INSIDE_EXTEND)) {