Procházet zdrojové kódy

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

Felix Paul Kühne před 12 roky
rodič
revize
be03114377
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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