diff options
author | Damiano Galassi <[email protected]> | 2020-05-16 12:17:18 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-05-16 12:28:39 +0200 |
commit | b512ffa9fc4af81bf7b03ae991123e15b92678a3 (patch) | |
tree | f692bcdeba0f5dd6e35f6ea96012cdbd73e11b10 /macosx | |
parent | 6071180f43ee24a2c37da1f2d1df63040974b6a5 (diff) |
MacGui: call [super layout] in the preview view layout. It's required and not calling it breaks the layout on 10.11.
(cherry picked from commit 20cb33eb66fb4160d57444996877c4d9783e34ed)
Diffstat (limited to 'macosx')
-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)); |