diff options
author | Damiano Galassi <[email protected]> | 2020-05-16 12:17:18 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-05-16 12:17:18 +0200 |
commit | 20cb33eb66fb4160d57444996877c4d9783e34ed (patch) | |
tree | 381fe5820b725d26edde787de6ec0e8932f5be96 /macosx/HBPreviewView.m | |
parent | 434b24bcf92d35925c936cf8ea34f100f22e99cf (diff) |
MacGui: call [super layout] in the preview view layout. It's required and not calling it breaks the layout on 10.11.
Diffstat (limited to 'macosx/HBPreviewView.m')
-rw-r--r-- | macosx/HBPreviewView.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBPreviewView.m b/macosx/HBPreviewView.m index 4e7d81ae1..21e27854b 100644 --- a/macosx/HBPreviewView.m +++ b/macosx/HBPreviewView.m @@ -190,6 +190,7 @@ - (void)layout { + [super layout]; // Set the picture size display fields below the Preview Picture NSSize imageSize = NSMakeSize(CGImageGetWidth(self.image), CGImageGetHeight(self.image)); |