From 3a631cf5e6e3c2c52484b03ac53c10e92def9ec9 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Mon, 7 Nov 2016 14:30:24 -0800 Subject: [PATCH] Updates ControllerSkin to provide aspect ratio for given Traits --- Common/Database/Model/ControllerSkin.swift | 5 +++++ Cores/DeltaCore | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Common/Database/Model/ControllerSkin.swift b/Common/Database/Model/ControllerSkin.swift index f90a773..d936162 100644 --- a/Common/Database/Model/ControllerSkin.swift +++ b/Common/Database/Model/ControllerSkin.swift @@ -98,4 +98,9 @@ extension ControllerSkin: ControllerSkinProtocol { return self.controllerSkin?.gameScreenFrame(for: traits) } + + public func aspectRatio(for traits: DeltaCore.ControllerSkin.Traits) -> CGSize? + { + return self.controllerSkin?.aspectRatio(for: traits) + } } diff --git a/Cores/DeltaCore b/Cores/DeltaCore index 4320885..1e08e32 160000 --- a/Cores/DeltaCore +++ b/Cores/DeltaCore @@ -1 +1 @@ -Subproject commit 43208853591dd1e24bd6aedaa81a6271a2016e28 +Subproject commit 1e08e323158f4b5c5d8479ab5a2b7573d9c61e6f