From 45e50d13d77365eab18fde02a6fff4c464550103 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 13 Apr 2019 15:05:45 -0500 Subject: [PATCH] Fixed to use the correct width and height when creating the NSImage. Issue #605 --- NetNewsWire/Extensions/RSImage-Extensions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetNewsWire/Extensions/RSImage-Extensions.swift b/NetNewsWire/Extensions/RSImage-Extensions.swift index 39251498c..ae1b2b885 100644 --- a/NetNewsWire/Extensions/RSImage-Extensions.swift +++ b/NetNewsWire/Extensions/RSImage-Extensions.swift @@ -32,7 +32,7 @@ extension RSImage { #if os(iOS) return RSImage(cgImage: cgImage) #else - let size = NSSize(width: scaledMaxPixelSize, height: scaledMaxPixelSize) + let size = NSSize(width: cgImage.width, height: cgImage.height) return RSImage(cgImage: cgImage, size: size) #endif