ImageCacheResize icon indicating copy to clipboard operation
ImageCacheResize copied to clipboard

doubleSizeIfRetina should be called in all +WebCache methods that receive a size

Open gtg922r opened this issue 11 years ago • 0 comments

"doubleSizeIfRetina" was added for some methods, but not for:

- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options andResize:(CGSize)size

and

- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options andResize:(CGSize)size

Since these methods are called by the shorter methods (without placeholder image), just move the doubleSizeIfRetina call to these methods.

gtg922r avatar Jun 23 '13 20:06 gtg922r