mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 14:11:35 +00:00
removed comment and fixed color of settings item
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user