From c96a77f1aacd26a74a117dd933a14613ccf0864c Mon Sep 17 00:00:00 2001 From: Diego Waxemberg Date: Wed, 31 Dec 2014 19:13:54 -0500 Subject: [PATCH] removed comment and fixed color of settings item --- Limelight/Input/OnScreenControls.m | 2 -- Limelight/ViewControllers/SettingsViewController.m | 2 +- iPad.storyboard | 3 ++- iPhone.storyboard | 3 ++- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Limelight/Input/OnScreenControls.m b/Limelight/Input/OnScreenControls.m index 8f17907..2ab0359 100644 --- a/Limelight/Input/OnScreenControls.m +++ b/Limelight/Input/OnScreenControls.m @@ -339,7 +339,6 @@ static float L2_Y; float xStickVal = (xLoc - LS_CENTER_X) / (lsMaxX - LS_CENTER_X); float yStickVal = (yLoc - LS_CENTER_Y) / (lsMaxY - LS_CENTER_Y); - NSLog(@"Left Stick x: %f y: %f", xStickVal, yStickVal); if (fabsf(xStickVal) < STICK_DEAD_ZONE) xStickVal = 0; if (fabsf(yStickVal) < STICK_DEAD_ZONE) yStickVal = 0; @@ -358,7 +357,6 @@ static float L2_Y; float xStickVal = (xLoc - RS_CENTER_X) / (rsMaxX - RS_CENTER_X); float yStickVal = (yLoc - RS_CENTER_Y) / (rsMaxY - RS_CENTER_Y); - NSLog(@"Right Stick x: %f y: %f", xStickVal, yStickVal); if (fabsf(xStickVal) < STICK_DEAD_ZONE) xStickVal = 0; if (fabsf(yStickVal) < STICK_DEAD_ZONE) yStickVal = 0; diff --git a/Limelight/ViewControllers/SettingsViewController.m b/Limelight/ViewControllers/SettingsViewController.m index e6700bb..821bc9d 100644 --- a/Limelight/ViewControllers/SettingsViewController.m +++ b/Limelight/ViewControllers/SettingsViewController.m @@ -65,7 +65,7 @@ static NSString* bitrateFormat = @"Bitrate: %d kbps"; height = [self.resolutionSelector selectedSegmentIndex] == 0 ? 720 : 1080; width = height == 720 ? 1280 : 1920; } - NSInteger onscreenControls = [self.onscreenControlSelector seletedSegmentIndex]; + NSInteger onscreenControls = [self.onscreenControlSelector selectedSegmentIndex]; [dataMan saveSettingsWithBitrate:_bitrate framerate:framerate height:height width:width onscreenControls:onscreenControls]; } diff --git a/iPad.storyboard b/iPad.storyboard index 5200710..98ba740 100644 --- a/iPad.storyboard +++ b/iPad.storyboard @@ -118,7 +118,7 @@ - + @@ -129,6 +129,7 @@ + diff --git a/iPhone.storyboard b/iPhone.storyboard index 94d14de..d106374 100644 --- a/iPhone.storyboard +++ b/iPhone.storyboard @@ -138,7 +138,7 @@ - + @@ -149,6 +149,7 @@ +