mirror of
https://github.com/id-Software/DOOM-iOS.git
synced 2025-06-03 10:31:11 +00:00
Hide GLView when using the home button
This commit is contained in:
parent
5f0672a5aa
commit
62a6eb0af7
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue