mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Unhighlight playback note on pause
This commit is contained in:
parent
9872f4f509
commit
e9ee2571f2
|
@ -53,7 +53,7 @@ void VLMIDIWriter::VisitMeasure(size_t m, VLProperties & p, VLMeasure & meas)
|
|||
|
||||
void VLMIDIWriter::VisitNote(VLLyricsNote & n)
|
||||
{
|
||||
if (n.fPitch != VLNote::kNoPitch && !(n.fTied & VLNote::kTiedWithPrev)) {
|
||||
if (!(n.fTied & VLNote::kTiedWithPrev)) {
|
||||
VLMIDIUserEvent event = {8, n.fPitch, fStanza, fMeasure, fAt};
|
||||
MusicTrackNewUserEvent(fTrack, fNoteTime,
|
||||
reinterpret_cast<const MusicEventUserData *>(&event));
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
- (void) highlightCursor
|
||||
{
|
||||
if (fNoteMeasure != 0x80000000)
|
||||
if (fNoteMeasure != 0x80000000 && fNotePitch != VLNote::kNoPitch)
|
||||
[fView drawNoteCursor:fNotePitch inMeasure:fNoteMeasure at:fNoteAt];
|
||||
if (fChordMeasure != 0x80000000)
|
||||
[fView highlightChordInMeasure:fChordMeasure at:fChordAt];
|
||||
|
|
Loading…
Reference in New Issue
Block a user