summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBPreviewViewController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/HBPreviewViewController.m b/macosx/HBPreviewViewController.m
index cd97b33e2..2b8a23632 100644
--- a/macosx/HBPreviewViewController.m
+++ b/macosx/HBPreviewViewController.m
@@ -185,12 +185,14 @@
CGImageRef fPreviewImage = [self.generator copyImageAtIndex:self.selectedIndex shouldCache:YES];
self.previewView.image = fPreviewImage;
CFRelease(fPreviewImage);
+ self.previewView.layer.opacity = 1;
}
else
{
NSImage *bars = [NSImage imageNamed:@"ColorBars"];
CGImageRef image = [bars CGImageForProposedRect:NULL context:nil hints:nil];
self.previewView.image = image;
+ self.previewView.layer.opacity = .3;
}
}