[iPad] Fixes keyboard controller sometimes using incorrect skin orientation
This commit is contained in:
parent
3cf87afa2d
commit
c3e9cfe526
@ -346,6 +346,8 @@ extension GameViewController
|
||||
{
|
||||
super.viewWillTransition(to: size, with: coordinator)
|
||||
|
||||
guard UIApplication.shared.applicationState != .background else { return }
|
||||
|
||||
coordinator.animate(alongsideTransition: { (context) in
|
||||
self.updateControllerSkin()
|
||||
}, completion: nil)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user