tigrr / circle-progress

Responsive, accessible, animated, stylable with CSS circular progress bar available as plain (vanilla) JS and jQuery plugin.
https://tigrr.github.io/circle-progress
MIT License
164 stars 43 forks source link

Fix wrong angle when min is not-zero #10

Closed elusien closed 2 years ago

elusien commented 2 years ago

Fixes the problem whereby when min is non-zero the angle is incorrect. e.g. if min=50 and max=100, the value 50 will correctly be at 0-degrees but 100 will be at 180-degrees, when it should be 360-degrees.

tigrr commented 2 years ago

@elusien , you are the first contributor to this project as well as the first contributor to a public library of mine. 😊 Thank you. I will rebuild the dist scripts and update package version shortly.