Fix small issue with overscroll not being dampened on the left edge.
Change-Id: I113425e6bae2ff6f6f143526a7e06363fb8d4320
This commit is contained in:
1 parent
f96d74017e
commit
1de3c5078c
1 file changed
+2
-2
@@ -1024,8 +1024,8 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
return;
|
||||
}
|
||||
|
||||
if (amount < 0) {
|
||||
super.scrollTo(amount, getScrollY());
|
||||
if (overScrollAmount < 0) {
|
||||
super.scrollTo(overScrollAmount, getScrollY());
|
||||
} else {
|
||||
super.scrollTo(mMaxScrollX + overScrollAmount, getScrollY());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user