Closed georgemincof closed 2 years ago
cc @ramirezcgn WDYT?
Hi, I made this change to achieve the same behavior as other tools like IcoMoon looking for icon size uniformity, and the problem was precisely that if all the icons were 16x16 (for example) and there was one 30x16, that icon did not respect the aspect ratio of the other icons, I think a better solution would be to add one more option to configure that.
Regards
I updated the PR. If you want the default value for the "preserveAspectRatio" option to be true, preferably increase the major version of the package. As I said, the previous change was a breaking change.
Feel free to change the name of the option if it's not intuitive. Thanks!
I did some mistakes with versions but the v12.0.0 includes your changes @georgemincof you should safely be able to upgrade to it while the one that satisfied with the breaking change will have to add the option to upgrade.
Please revert #137
The behavior of #137 causes an SVG that is wider than its height to shrink.
It's a breaking change. Consider adding this under a new option.
Until the 10.0.5 version, this does not happen.
This reverts commit be4d9baa8c724344d51c3c502cce334570063b54, reversing changes made to eb26c81075907783f175253d6ce5a1d700d72aa7.
Fixes #
Proposed changes
Code quality
License
To get your contribution merged, you must check the following.
Join
My NPM username: