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

Commit d0fd73d7 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

am 1c4d86c7: am f54d62dc: am fc7315c6: am 6d71e165: Merge "Round off when...

am 1c4d86c7: am f54d62dc: am fc7315c6: am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit '1c4d86c7':
  Round off when calculate next step in Seekbar
parents e769cdf0 1c4d86c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -296,7 +296,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) {