mirror of
https://github.com/microtherion/VocalEasel.git
synced 2025-01-12 21:23: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];
|
NSOperationQueue * oq = [NSOperationQueue mainQueue];
|
||||||
soundStartObserver = [nc addObserverForName:(NSString*)kVLSoundStartedNotification
|
soundStartObserver = [nc addObserverForName:(NSString*)kVLSoundStartedNotification
|
||||||
object:nil queue:oq usingBlock:^(NSNotification *note) {
|
object:nil queue:oq usingBlock:^(NSNotification *note) {
|
||||||
[[[self window] contentView] setNeedsDisplay:YES];
|
[[[self window] toolbar] validateVisibleItems];
|
||||||
}];
|
}];
|
||||||
soundStopObserver = [nc addObserverForName:(NSString*)kVLSoundStoppedNotification
|
soundStopObserver = [nc addObserverForName:(NSString*)kVLSoundStoppedNotification
|
||||||
object:nil queue:oq usingBlock:^(NSNotification *note) {
|
object:nil queue:oq usingBlock:^(NSNotification *note) {
|
||||||
[[[self window] contentView] setNeedsDisplay:YES];
|
[[[self window] toolbar] validateVisibleItems];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user