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,6 +54,9 @@
|
|||
fNoteMeasure = event->fMeasure;
|
||||
fNoteAt = event->fAt;
|
||||
fNoteVisual = event->fVisual & VLNote::kAccidentalsMask;
|
||||
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];
|
||||
|
|
Loading…
Reference in New Issue
Block a user