Przeglądaj źródła

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

Felix Paul Kühne 12 lat temu
rodzic
commit
be03114377
1 zmienionych plików z 4 dodań i 0 usunięć
  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