blackears / svgSalamander

158 stars 57 forks source link

Fix issue #7 (Fixed height, but variable width to keep aspect ratio) #8

Closed fnatter closed 7 years ago

fnatter commented 8 years ago

Dear svgSalamander maintainer,

this pull request fixes an issue where AUTOSIZE_* is not honored in SVGIcon.getIcon{Width,Height}(). Thus, the extent of the icons is wrong when using AUTOSIZE_VERT, AUTOSIZE_HORIZ or AUTOSIZE_BESTFIT.

The patch is straightforward, but please tell me if you have any questions or something needs to be cleaned up.

Cheers and Best Regards, Felix