This commit is contained in:
Brent Simmons 2019-04-13 13:10:45 -07:00
commit 61172e7267
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ extension RSImage {
#if os(iOS) #if os(iOS)
return RSImage(cgImage: cgImage) return RSImage(cgImage: cgImage)
#else #else
let size = NSSize(width: scaledMaxPixelSize, height: scaledMaxPixelSize) let size = NSSize(width: cgImage.width, height: cgImage.height)
return RSImage(cgImage: cgImage, size: size) return RSImage(cgImage: cgImage, size: size)
#endif #endif