From 2e479837ed2f24b8d04c77b865a1b5884cc57cde Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 26 Aug 2018 15:55:39 -0700 Subject: [PATCH] Fix spinners on tvOS and mouse support using the remote --- Limelight/Stream/StreamManager.m | 3 ++- Moonlight TV/Base.lproj/Main.storyboard | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Limelight/Stream/StreamManager.m b/Limelight/Stream/StreamManager.m index 37ca8e15..59d71f92 100644 --- a/Limelight/Stream/StreamManager.m +++ b/Limelight/Stream/StreamManager.m @@ -76,7 +76,7 @@ } } -#if TARGET_OS_IPHONE && !TARGET_OS_TV +#if TARGET_OS_IPHONE // Set mouse delta factors from the screen resolution and stream size CGFloat screenScale = [[UIScreen mainScreen] scale]; CGRect screenBounds = [[UIScreen mainScreen] bounds]; @@ -84,6 +84,7 @@ [((StreamView*)_renderView) setMouseDeltaFactors:_config.width / screenSize.width y:_config.height / screenSize.height]; #endif + // Populate the config's version fields from serverinfo _config.appVersion = appversion; _config.gfeVersion = gfeVersion; diff --git a/Moonlight TV/Base.lproj/Main.storyboard b/Moonlight TV/Base.lproj/Main.storyboard index d8bac58e..2c2c16f9 100644 --- a/Moonlight TV/Base.lproj/Main.storyboard +++ b/Moonlight TV/Base.lproj/Main.storyboard @@ -75,8 +75,8 @@ - - + + @@ -98,16 +98,16 @@ - + - - + +