mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Properly align chord names
This commit is contained in:
parent
a01d5ed372
commit
04d02aafe4
|
@ -246,8 +246,7 @@ std::string NormalizeName(NSString* rawName)
|
|||
) {
|
||||
NSAttributedString * chordName = [self stringWithChord:*chord];
|
||||
NSPoint chordLoc =
|
||||
NSMakePoint(fClefKeyW+(m+at)*fMeasureW+0.5f*kNoteW,
|
||||
kSystemY+kChordY);
|
||||
NSMakePoint([self noteXInMeasure:m at:at], kSystemY+kChordY);
|
||||
[chordName drawAtPoint:chordLoc];
|
||||
at += chord->fDuration;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user