summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewGenerator.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-03-17 18:04:22 +0000
committerritsuka <[email protected]>2015-03-17 18:04:22 +0000
commitdbffa15d244290e964b0daca7dbbbe89d250e763 (patch)
tree82c102961fa80605fa813c676bb1068d17252e02 /macosx/HBPreviewGenerator.m
parentca1bffa4f6985099571069a9f41851828b25da30 (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.m5
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];