mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
iOS: Call hideKeyboard from a couple more places
This commit is contained in:
parent
ba82360861
commit
bd13653153
2 changed files with 4 additions and 2 deletions
|
@ -424,6 +424,7 @@ void GLRenderLoop(IOSGLESContext *graphicsContext) {
|
|||
- (void)uiStateChanged
|
||||
{
|
||||
[self setNeedsUpdateOfScreenEdgesDeferringSystemGestures];
|
||||
[self hideKeyboard];
|
||||
}
|
||||
|
||||
- (UIView *)getView {
|
||||
|
|
|
@ -387,6 +387,8 @@ void VulkanRenderLoop(IOSVulkanContext *graphicsContext, CAMetalLayer *metalLaye
|
|||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
[self hideKeyboard];
|
||||
|
||||
[[DisplayManager shared] setupDisplayListener];
|
||||
|
||||
INFO_LOG(SYSTEM, "Metal viewDidLoad");
|
||||
|
@ -414,8 +416,6 @@ void VulkanRenderLoop(IOSVulkanContext *graphicsContext, CAMetalLayer *metalLaye
|
|||
locationHelper = [[LocationHelper alloc] init];
|
||||
[locationHelper setDelegate:self];
|
||||
|
||||
[self hideKeyboard];
|
||||
|
||||
UIScreenEdgePanGestureRecognizer *mBackGestureRecognizer = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeFrom:) ];
|
||||
[mBackGestureRecognizer setEdges:UIRectEdgeLeft];
|
||||
[[self view] addGestureRecognizer:mBackGestureRecognizer];
|
||||
|
@ -500,6 +500,7 @@ extern float g_safeInsetBottom;
|
|||
- (void)uiStateChanged
|
||||
{
|
||||
[self setNeedsUpdateOfScreenEdgesDeferringSystemGestures];
|
||||
[self hideKeyboard];
|
||||
}
|
||||
|
||||
- (void)bindDefaultFBO
|
||||
|
|
Loading…
Add table
Reference in a new issue