-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update ArtQRCode.cs #408
Update ArtQRCode.cs #408
Conversation
Fixed dot size calculaction
Previously the pixel size factor does not appear to have any effect. With pixel size factor of 0.7: (default is 0.8) Before: After: Demo of default size factor of 0.8: It would seem that this PR should be merged, assuming this is the intent of the pixel size factor. However, any user code will now generate with smaller dots than previously, as previously it acted as though pixelSizeFactor was 1, and the default is 0.8. Test hashes will need to be updated. Perhaps the default should be set to 1.0 going forward, to match the previous version's default behavior (??) |
Changed the default to 1.0 to avoid breaking changes due to bugfix in pixelSizeFactor calculation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Fixed dot size calculation where the size is divided instead of multiplied.