-
Notifications
You must be signed in to change notification settings - Fork 524
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
Point symbols only render correctly when x and y values are whole numbers #753
Comments
In fact you can see the same problem in the demo in the docs for Victory Scatter Both the square and circle are warped |
After some digging, I think this only happens when the x or y values for the point aren't a whole number |
@cbranch101 thank you for looking into this. We started rounding path values to prevent sub-pixel rendering, but I think this is causing error and distortion. |
@boygirl Yep, I think that's what it was. PR inbound to |
…e math.floor and fixes the path helper functions that were dependant on the old rounding behavior
…e math.floor and fixes the path helper functions that were dependent on the old rounding behavior
Something strange seems to be going on with the path functions that render symbols inside of point
<Point symbol="diamond"/>
<Point symbol="plus"/>
"/>
The only shape that seems to work correctly is circle
An example of how I'm providing the point component
The text was updated successfully, but these errors were encountered: