We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Try to set value 1 of 100 will cause the view to show value 2. or set max value 900, and the calculation of setValue is always wrong.
1
100
2
The text was updated successfully, but these errors were encountered:
Any clue to fix this issue?
Sorry, something went wrong.
I'll investigate this as soon as possible. PRs are more than welcome btw ;)
Works fine when I comment few lines in calculateRadiansFromAngle method .
calculateRadiansFromAngle
private int calculateRadiansFromAngle(float angle) { float unit = (float) (angle / (2 * Math.PI)); // if (unit < 0f) { // unit += 1; // } int radians = (int) ((unit * 360) - ((360 / 4) * 3)); // if (radians < 0) // radians += 360; return radians; }
No branches or pull requests
Try to set value
1
of100
will cause the view to show value2
.or set max value 900, and the calculation of setValue is always wrong.
The text was updated successfully, but these errors were encountered: