From d7ed26c372ea560a1555bdb3a0f701a333c90bee Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Thu, 10 Oct 2019 00:30:18 -0700 Subject: [PATCH] Fixes incorrect controller view sizing when changing skins --- Cores/DeltaCore | 2 +- Delta/Emulation/GameViewController.swift | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cores/DeltaCore b/Cores/DeltaCore index 9e28eec..5fd73cc 160000 --- a/Cores/DeltaCore +++ b/Cores/DeltaCore @@ -1 +1 @@ -Subproject commit 9e28eec46da153266a10d09afbbb60e8a66fd7cb +Subproject commit 5fd73cc46963b506ec077dfd9f66d7e5d997acfb diff --git a/Delta/Emulation/GameViewController.swift b/Delta/Emulation/GameViewController.swift index 46fcec4..7ff5363 100644 --- a/Delta/Emulation/GameViewController.swift +++ b/Delta/Emulation/GameViewController.swift @@ -562,6 +562,8 @@ private extension GameViewController let controllerSkin = Settings.preferredControllerSkin(for: system, traits: traits) self.controllerView.controllerSkin = controllerSkin + + self.view.setNeedsUpdateConstraints() } }