mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Change loop index from float to int
This commit is contained in:
parent
4c77e5cdd2
commit
9eb0f48a7a
@ -83,8 +83,8 @@ public class ProgressDrawable extends Drawable {
|
||||
// render marquee
|
||||
width += size * 2;
|
||||
Path marquee = new Path();
|
||||
for (float i = -size; i < width; i += size) {
|
||||
marquee.addPath(mMarqueeLine, i + mMarqueeProgress, 0);
|
||||
for (int i = -size; i < width; i += size) {
|
||||
marquee.addPath(mMarqueeLine, ((float)i + mMarqueeProgress), 0);
|
||||
}
|
||||
marquee.close();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user