From 94607265965a70ab7bc0b46e168d687df60937f6 Mon Sep 17 00:00:00 2001 From: Barijaona Ramaholimihaso Date: Tue, 25 Dec 2018 21:17:12 +0300 Subject: [PATCH] Fix problems with changes of window having focus Issue MiMo42/MMTabBarView#69 : some styles (Mojave and Yosemite) did not update properly their colors when the window gains/loses focus. --- MMTabBarView/MMTabBarView/MMTabBarView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMTabBarView/MMTabBarView/MMTabBarView.m b/MMTabBarView/MMTabBarView/MMTabBarView.m index 2ca98c82..b8a9d509 100755 --- a/MMTabBarView/MMTabBarView/MMTabBarView.m +++ b/MMTabBarView/MMTabBarView/MMTabBarView.m @@ -356,7 +356,7 @@ - (void)windowStatusDidChange:(NSNotification *)notification { [self _updateImages]; - [self setNeedsDisplay:YES]; + [self setNeedsUpdate:YES]; } #pragma mark -