Don't prevent flinging in CoverView either
This commit is contained in:
parent
44b78811b3
commit
f33eaa5ba6
@ -496,8 +496,8 @@ public final class CoverView extends View {
|
||||
velocityTracker.computeCurrentVelocity(250);
|
||||
int velocity = (int) velocityTracker.getXVelocity();
|
||||
|
||||
int min = mBitmaps[0] == null || mTimelinePos == 0 ? 1 : 0;
|
||||
int max = mBitmaps[2] == null ? 1 : 2;
|
||||
int min = mTimelinePos == 0 ? 1 : 0;
|
||||
int max = 2;
|
||||
int nearestCover = (scrollX + width / 2) / width;
|
||||
int whichCover = Math.max(min, Math.min(nearestCover, max));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user