Skip to content
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

Report x0, x1 instead of x, dx? #23

Closed
mbostock opened this issue Dec 16, 2015 · 1 comment
Closed

Report x0, x1 instead of x, dx? #23

mbostock opened this issue Dec 16, 2015 · 1 comment

Comments

@mbostock
Copy link
Member

This could help avoid inconsistencies due to rounding error, e.g., when a child exceeds the bounds of its parent (related d3/d3#2685):

d.parent.x + d.parent.dx // 0.26717557251908397
d.x + d.dx // 0.267175572519084
@mbostock
Copy link
Member Author

Fixed in #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant