Skip to content

Commit

Permalink
MacGui: call [super layout] in the preview view layout. It's required…
Browse files Browse the repository at this point in the history
… and not calling it breaks the layout on 10.11.
  • Loading branch information
galad87 committed May 16, 2020
1 parent 434b24b commit 20cb33e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions macosx/HBPreviewView.m
Expand Up @@ -190,6 +190,7 @@ - (NSSize)imageScaledSize:(NSSize)source toFit:(NSSize)destination borderSize:(C

- (void)layout
{
[super layout];
// Set the picture size display fields below the Preview Picture
NSSize imageSize = NSMakeSize(CGImageGetWidth(self.image), CGImageGetHeight(self.image));

Expand Down

0 comments on commit 20cb33e

Please sign in to comment.