ソースを参照

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

Felix Paul Kühne 12 年 前
コミット
be03114377
1 ファイル変更4 行追加0 行削除
  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