Explorar o código

Movie View: reset idle time when changing playback position or clicking the time field

Felix Paul Kühne %!s(int64=12) %!d(string=hai) anos
pai
achega
be03114377
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      AspenProject/VLCMovieViewController.m

+ 4 - 0
AspenProject/VLCMovieViewController.m

@@ -561,6 +561,8 @@
         self.currentScrubSpeedLabel.text = NSLocalizedString(@"PLAYBACK_SCRUB_QUARTER", @"");
     else
         self.currentScrubSpeedLabel.text = NSLocalizedString(@"PLAYBACK_SCRUB_FINE", @"");
+
+    [self _resetIdleTimer];
 }
 
 - (IBAction)positionSliderDrag:(id)sender
@@ -670,6 +672,8 @@
 - (void)toggleTimeDisplay
 {
     _displayRemainingTime = !_displayRemainingTime;
+
+    [self _resetIdleTimer];
 }
 
 #pragma mark - swipe gestures