diff --git a/SeekArc_library/src/com/triggertrap/seekarc/SeekArc.java b/SeekArc_library/src/com/triggertrap/seekarc/SeekArc.java index 09c881d..7792634 100644 --- a/SeekArc_library/src/com/triggertrap/seekarc/SeekArc.java +++ b/SeekArc_library/src/com/triggertrap/seekarc/SeekArc.java @@ -409,9 +409,9 @@ private double getTouchDegrees(float xPos, float yPos) { private int getProgressForAngle(double angle) { int touchProgress = (int) Math.round(valuePerDegree() * angle); - touchProgress = (touchProgress < 0) ? INVALID_PROGRESS_VALUE + touchProgress = (touchProgress < 0) ? 0 : touchProgress; - touchProgress = (touchProgress > mMax) ? INVALID_PROGRESS_VALUE + touchProgress = (touchProgress > mMax) ? mMax : touchProgress; return touchProgress; }