antoniolago / react-gauge-component

React gauge component for data visualization.
https://antoniolago.github.io/react-gauge-component/
MIT License
132 stars 19 forks source link

Arrow becomes misaligned with arc at smaller sizes #45

Open brianmuse opened 5 months ago

brianmuse commented 5 months ago

I noticed in the most recent version that the arrow pointer gets mis-positioned for smaller gauges.

It seems like this was introduced in 1.2.0 based on me just trying a bunch of versions.

Here's how it looks in 1.1.36

Screenshot 2024-03-27 at 3 28 08 PM

And here's how it looks in 1.2.0

Screenshot 2024-03-27 at 3 28 47 PM