diff options
author | Damiano Galassi <[email protected]> | 2019-10-05 19:00:30 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-10-05 19:00:30 +0200 |
commit | 4238775818207edef7f303dabf99684f5542bc53 (patch) | |
tree | 0fc0b4a659abd329f394a92c31adcfcf6085cefe /macosx/HBPreviewView.h | |
parent | b8fc24a311d3f0163fd39d758d54096f37dbb8b3 (diff) |
Improve preview window sizing.
Diffstat (limited to 'macosx/HBPreviewView.h')
-rw-r--r-- | macosx/HBPreviewView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreviewView.h b/macosx/HBPreviewView.h index e521aa9f9..29d0ae867 100644 --- a/macosx/HBPreviewView.h +++ b/macosx/HBPreviewView.h @@ -49,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN * Given the size of the preview image to be shown, returns the best possible * size for the view. */ -- (NSSize)optimalViewSizeForImageSize:(NSSize)imageSize minSize:(NSSize)minSize; +- (NSSize)optimalViewSizeForImageSize:(NSSize)imageSize minSize:(NSSize)minSize scaleFactor:(CGFloat)scaleFactor; @end |