diff options
author | ritsuka <[email protected]> | 2015-03-17 18:04:22 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-03-17 18:04:22 +0000 |
commit | dbffa15d244290e964b0daca7dbbbe89d250e763 (patch) | |
tree | 82c102961fa80605fa813c676bb1068d17252e02 /macosx/HBPreviewGenerator.m | |
parent | ca1bffa4f6985099571069a9f41851828b25da30 (diff) |
MacGui: clean up the preview controller, and fix the preview not updating when a new title is selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6998 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreviewGenerator.m')
-rw-r--r-- | macosx/HBPreviewGenerator.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m index 5c9f2a788..3608060ce 100644 --- a/macosx/HBPreviewGenerator.m +++ b/macosx/HBPreviewGenerator.m @@ -95,6 +95,11 @@ [self.picturePreviews removeAllObjects]; } +- (CGSize)imageSize +{ + return CGSizeMake(self.job.picture.displayWidth, self.job.picture.height); +} + - (void) imagesSettingsDidChange { [self.delegate reloadPreviews]; |