Live update of current time display
This commit is contained in:
parent
8fc0a50455
commit
05c678993b
|
@ -101,6 +101,8 @@ static const char * kMADocWindowObserver = "MADocWindowObserver";
|
|||
currentMovie = nil;
|
||||
currentMovieTitle = @"";
|
||||
}
|
||||
lastMovieTime = QTMakeTime(-1, 600);
|
||||
[self updateMovieTime:nil];
|
||||
}
|
||||
[self moviePanelDidAppear];
|
||||
}
|
||||
|
@ -325,7 +327,8 @@ static NSTimeInterval sLastSkip = 0.0;
|
|||
[currentMovie setCurrentTime:current];
|
||||
sLastSkip *= 1.1;
|
||||
[NSRunLoop cancelPreviousPerformRequestsWithTarget:self selector:@selector(resetSkipFactor:) object:self];
|
||||
[self performSelector:@selector(resetSkipFactor:) withObject:self afterDelay:1.0];
|
||||
[self performSelector:@selector(resetSkipFactor:) withObject:self afterDelay:0.5];
|
||||
[self updateMovieTime:nil];
|
||||
}
|
||||
|
||||
- (IBAction)mediaSkipBackward:(id)sender
|
||||
|
|
Loading…
Reference in New Issue
Block a user