George Watson
George Watson
```self.zoomToFit();``` doesn't change anything, but ```self.zoomImageToActualSize();``` works. I don't know why ```self.zoomToFit();``` doesn't work. Very odd. Here is a screenshot with ```self.zoomToFit();``` the function seems to do nothing [http://www.tiikoni.com/tis/view/?id=e2f5c09](http://www.tiikoni.com/tis/view/?id=e2f5c09)
It happens with all images, maybe it's different version of something? Or because of the scaling of the retina displays? I'm on 10.12.2, 2015 15" MacBook Pro, xcode version 8.2.1
I added ```self.zoomImageToActualSize();``` to the end of ```display()``` Like this ``` // Update the defaults to match the preferences self.showBackground((NSApp.delegate as! AppDelegate).preferences.viewerDefaultsShowBackground); self.showShadow((NSApp.delegate as! AppDelegate).preferences.viewerDefaultsEnableShadow); self.zoomImageToActualSize(); // Set `representedImage` self.representedImage...