mirror of
https://github.com/microtherion/VocalEasel.git
synced 2025-01-12 13:13:59 +00:00
Reset play button after single note
This commit is contained in:
parent
8eaa0fb1a5
commit
2de587cf2f
|
@ -56,11 +56,11 @@
|
|||
NSOperationQueue * oq = [NSOperationQueue mainQueue];
|
||||
soundStartObserver = [nc addObserverForName:(NSString*)kVLSoundStartedNotification
|
||||
object:nil queue:oq usingBlock:^(NSNotification *note) {
|
||||
[[[self window] contentView] setNeedsDisplay:YES];
|
||||
[[[self window] toolbar] validateVisibleItems];
|
||||
}];
|
||||
soundStopObserver = [nc addObserverForName:(NSString*)kVLSoundStoppedNotification
|
||||
object:nil queue:oq usingBlock:^(NSNotification *note) {
|
||||
[[[self window] contentView] setNeedsDisplay:YES];
|
||||
[[[self window] toolbar] validateVisibleItems];
|
||||
}];
|
||||
}
|
||||
return self;
|
||||
|
|
Loading…
Reference in New Issue
Block a user