Commit 412bc807 authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

VLCMovieViewController: Pan brightness gesture should not change brightness slider filter value

Signed-off-by: default avatarCarola Nitz <>
parent f4e37f19
......@@ -1355,7 +1355,6 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
NSAssert(brightness >= 0 && brightness <= 1, @"Brightness must be within 0 and 1 (it is %f)", brightness);
[[UIScreen mainScreen] setBrightness:brightness];
self.brightnessSlider.value = brightness * 2.;
NSString *brightnessHUD = [NSString stringWithFormat:@"%@: %@ %%", NSLocalizedString(@"VFILTER_BRIGHTNESS", nil), [[[NSString stringWithFormat:@"%f",(brightness*100)] componentsSeparatedByString:@"."] objectAtIndex:0]];
[self.statusLabel showStatusMessage:brightnessHUD];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment