mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-23 03:34: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];
|
NSAttributedString * chordName = [self stringWithChord:*chord];
|
||||||
NSPoint chordLoc =
|
NSPoint chordLoc =
|
||||||
NSMakePoint(fClefKeyW+(m+at)*fMeasureW+0.5f*kNoteW,
|
NSMakePoint([self noteXInMeasure:m at:at], kSystemY+kChordY);
|
||||||
kSystemY+kChordY);
|
|
||||||
[chordName drawAtPoint:chordLoc];
|
[chordName drawAtPoint:chordLoc];
|
||||||
at += chord->fDuration;
|
at += chord->fDuration;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user