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

fix: stringifyPathData needs space before scientific notation. #1961

Merged
merged 3 commits into from
Feb 25, 2024

Conversation

johnkenny54
Copy link
Contributor

stringifyPathData was not adding a space before numbers which used scientific notation.

This fix does not change the results of regression tests using the current value of floatPrecision: 4 (125 failures, 3794 pixel differences), but when run at floatPrecision:7, failures are reduced from 164 to 93, and pixel mismatches reduced from 32,058 to 3,233.

@johnkenny54 johnkenny54 marked this pull request as ready for review February 12, 2024 17:04
Copy link
Member

@SethFalco SethFalco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, but I've made a suggestion. Happy to merge once that's addressed.

lib/path.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants