* commit 'fc7315c6c17e6ebc559d2ea0afb8be64c5d7b86c': Round off when calculate next step in Seekbar
This commit is contained in:
@@ -292,7 +292,7 @@ public abstract class AbsSeekBar extends ProgressBar {
|
||||
// The extra space for the thumb to move on the track
|
||||
available += mThumbOffset * 2;
|
||||
|
||||
int thumbPos = (int) (scale * available);
|
||||
int thumbPos = (int) (scale * available + 0.5f);
|
||||
|
||||
int topBound, bottomBound;
|
||||
if (gap == Integer.MIN_VALUE) {
|
||||
|
||||
Reference in New Issue
Block a user