From: Damiano Galassi Date: Wed, 11 Oct 2017 20:05:43 +0000 (+0200) Subject: MacGui: Disable implicit animations on 10.9 and earlier. X-Git-Tag: 1.1.0~361 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82904f720faa3293a013de011702c39a031f414e;p=handbrake MacGui: Disable implicit animations on 10.9 and earlier. --- diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m index b24219b34..30f69abe4 100644 --- a/macosx/HBPreferencesController.m +++ b/macosx/HBPreferencesController.m @@ -310,11 +310,11 @@ window.contentView = view; if (window.isVisible) - { + { view.hidden = YES; [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) { - if ([context respondsToSelector:@selector(setAllowsImplicitAnimation:)]) + if ([context respondsToSelector:@selector(setAllowsImplicitAnimation:)] && NSClassFromString(@"NSVisualEffectView")) { context.allowsImplicitAnimation = YES; }