diff --git a/Sources/VLMIDIWriter.cpp b/Sources/VLMIDIWriter.cpp index decf10b..adfc39a 100644 --- a/Sources/VLMIDIWriter.cpp +++ b/Sources/VLMIDIWriter.cpp @@ -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(&event)); diff --git a/Sources/VLSheetViewSelection.mm b/Sources/VLSheetViewSelection.mm index 5e83a38..52acde8 100644 --- a/Sources/VLSheetViewSelection.mm +++ b/Sources/VLSheetViewSelection.mm @@ -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];