summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewView.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-10-05 19:00:30 +0200
committerDamiano Galassi <[email protected]>2019-10-05 19:00:30 +0200
commit4238775818207edef7f303dabf99684f5542bc53 (patch)
tree0fc0b4a659abd329f394a92c31adcfcf6085cefe /macosx/HBPreviewView.h
parentb8fc24a311d3f0163fd39d758d54096f37dbb8b3 (diff)
Improve preview window sizing.
Diffstat (limited to 'macosx/HBPreviewView.h')
-rw-r--r--macosx/HBPreviewView.h2
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