Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SeekArc fills when progress set to 0 #43

Open
nitayravin opened this issue Jun 23, 2016 · 3 comments
Open

SeekArc fills when progress set to 0 #43

nitayravin opened this issue Jun 23, 2016 · 3 comments

Comments

@nitayravin
Copy link

I have a SeekArc with a rotation and sweep-angle, like in the example. When the progress is set to 0, the arc should be empty, but instead it fills completely, even past where the seep angle ends. This is only happening on my Galaxy S7 running Android 6.0.1.

@DaXmYsT
Copy link

DaXmYsT commented Feb 20, 2017

Had the same issue, but you can fix it easy.

  • Include the lib into your project so that you can edit it.
  • search for the line
    canvas.drawArc(mArcRect, arcStart, mProgressSweep, false, mProgressPaint);
    inside the SeekArc.java
    and simply write

if (mProgress > 0) {
canvas.drawArc(mArcRect, arcStart, mProgressSweep, false, mProgressPaint);
}

@hades-6
Copy link

hades-6 commented Apr 6, 2017

Is there a plan to fix this in the lib? @DaXmYsT @nitayravin

@christos-h
Copy link

Same issue, it would be nice if the fix happened on the gradle version.

mudar added a commit to mudar/SeekArc that referenced this issue Dec 14, 2017
as mentioned by DaXmYsT
+ minor javadoc cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants