Updates ControllerSkin to provide aspect ratio for given Traits

This commit is contained in:
Riley Testut 2016-11-07 14:30:24 -08:00
parent dc9cb367de
commit 3a631cf5e6
2 changed files with 6 additions and 1 deletions

View File

@ -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)
}
}

@ -1 +1 @@
Subproject commit 43208853591dd1e24bd6aedaa81a6271a2016e28
Subproject commit 1e08e323158f4b5c5d8479ab5a2b7573d9c61e6f