Hide GLView when using the home button

This commit is contained in:
Dave Nicolson 2020-10-20 18:39:37 +02:00
parent 5f0672a5aa
commit 62a6eb0af7
2 changed files with 10 additions and 0 deletions

View file

@ -593,6 +593,12 @@ BOOL settingsMenuSelected = NO;
}
}
- (void)didUpdateFocusInContext:(UIFocusUpdateContext *)context withAnimationCoordinator:(UIFocusAnimationCoordinator *)coordinator {
if (!context.previouslyFocusedView && [context.nextFocusedView isKindOfClass:[Banner_SubItem class]]) {
[ gAppDelegate HideGLView ];
}
}
#endif
@end