Bug Fix: Change how pause stops unseekable files
Change the stop action slightly. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
d4dcf29dd4
commit
aee05d5503
1 changed files with 3 additions and 2 deletions
|
@ -204,8 +204,9 @@ static double reverseSpeedScale(double input, double min, double max) {
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)pause:(id)sender {
|
- (IBAction)pause:(id)sender {
|
||||||
if(!([playlistController currentEntry].seekable)) {
|
if(![self seekable]) {
|
||||||
return [self stop:sender];
|
[self stop:sender];
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusPaused forKey:@"lastPlaybackStatus"];
|
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusPaused forKey:@"lastPlaybackStatus"];
|
||||||
|
|
Loading…
Reference in a new issue