From 06b4bb89c5d7601678c150a0824d04b9d27ab206 Mon Sep 17 00:00:00 2001 From: Barijaona Ramaholimihaso Date: Sat, 5 Jan 2019 18:58:18 +0300 Subject: [PATCH] Fix freeze on entering full screen window mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On macOS Mojave, window freeze when entering full screen window mode. If the window is frozen, clicking outside the app allows it to complete the transition to full screen mode. So even just clicking on another icon in the Dock allows it to continue (Issue MiMo42/MMTabBarView#63). Brendan Duddridge (@brendand) noticed that the problem has to do with MMTabBarView’s -viewDidEndLiveResize. Removing the animation works around it. --- MMTabBarView/MMTabBarView/MMTabBarView.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MMTabBarView/MMTabBarView/MMTabBarView.m b/MMTabBarView/MMTabBarView/MMTabBarView.m index 4cc4f6c3..52062317 100755 --- a/MMTabBarView/MMTabBarView/MMTabBarView.m +++ b/MMTabBarView/MMTabBarView/MMTabBarView.m @@ -211,10 +211,6 @@ - (void)viewWillStartLiveResize { } -(void)viewDidEndLiveResize { - for (MMAttachedTabBarButton *aButton in self.attachedButtons) { - [aButton.indicator startAnimation:self]; - } - [self _checkWindowFrame]; [self update:NO]; }