diff options
Diffstat (limited to 'macosx/HBPreviewController.m')
-rw-r--r-- | macosx/HBPreviewController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m index 06fb4e1ab..b908b52cd 100644 --- a/macosx/HBPreviewController.m +++ b/macosx/HBPreviewController.m @@ -412,7 +412,7 @@ [CATransaction begin]; CABasicAnimation *fadeInAnimation = [CABasicAnimation animationWithKeyPath:@"opacity"]; fadeInAnimation.fromValue = @([hud.layer.presentationLayer opacity]); - fadeInAnimation.toValue = @(1.0); + fadeInAnimation.toValue = @1.0; fadeInAnimation.beginTime = 0.0; fadeInAnimation.duration = ANIMATION_DUR; @@ -430,7 +430,7 @@ [CATransaction begin]; CABasicAnimation *fadeOutAnimation = [CABasicAnimation animationWithKeyPath:@"opacity"]; fadeOutAnimation.fromValue = @([hud.layer.presentationLayer opacity]); - fadeOutAnimation.toValue = @(0.0); + fadeOutAnimation.toValue = @0.0; fadeOutAnimation.beginTime = 0.0; fadeOutAnimation.duration = ANIMATION_DUR; |