kaishin / Gifu

High-performance animated GIF support for iOS in Swift
Other
3.09k stars 279 forks source link

UIImage Ext: disambiguate UIImage.size and local var size #158

Closed jverdi closed 4 years ago

jverdi commented 4 years ago

In the UIImage extension, both the constrained(by:) and filling(size:) seemingly have a bug where the UIImage ivar size and local parameter size share the same name and thus, the methods are just constraining/filling a size against itself.

kaishin commented 4 years ago

Thanks for catching this!