mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix weird highlighting of rests on playback
This commit is contained in:
parent
f083ae9857
commit
67c9213ce9
|
@ -54,7 +54,10 @@
|
|||
fNoteMeasure = event->fMeasure;
|
||||
fNoteAt = event->fAt;
|
||||
fNoteVisual = event->fVisual & VLNote::kAccidentalsMask;
|
||||
fNoteVert = VLPitchToGrid(event->fPitch, fNoteVisual, [fView song]->Properties(fNoteMeasure).fKey);
|
||||
if (event->fPitch == VLNote::kNoPitch)
|
||||
fNoteVert = kCursorNoPitch;
|
||||
else
|
||||
fNoteVert = VLPitchToGrid(event->fPitch, fNoteVisual, [fView song]->Properties(fNoteMeasure).fKey);
|
||||
fStanza = event->fStanza;
|
||||
[fView highlightTextInStanza:fStanza measure:fNoteMeasure at:fNoteAt one:YES];
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user