Selaa lähdekoodia

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

Signed-off-by: Carola Nitz <nitz.carola@googlemail.com>
Soomin Lee 7 vuotta sitten
vanhempi
commit
412bc807f5
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      Sources/VLCMovieViewController.m

+ 0 - 1
Sources/VLCMovieViewController.m

@@ -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];