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

Commit 6d71e165 authored by Jeff Brown's avatar Jeff Brown Committed by Gerrit Code Review
Browse files

Merge "Round off when calculate next step in Seekbar"

parents a41ddccd 3b2272cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {