mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Better lyrics alignment
This commit is contained in:
parent
1d3fc9e22b
commit
7339ccd659
|
@ -138,8 +138,8 @@
|
||||||
NSSize sz =
|
NSSize sz =
|
||||||
[syll sizeWithAttributes:sLyricsFont];
|
[syll sizeWithAttributes:sLyricsFont];
|
||||||
NSPoint syllLoc =
|
NSPoint syllLoc =
|
||||||
NSMakePoint(fClefKeyW+(m+at)*fMeasureW
|
NSMakePoint([self noteXInMeasure:m at:at]
|
||||||
+ 0.5f*(kNoteW-sz.width),
|
- 0.5f*sz.width,
|
||||||
kSystemY+kLyricsY-stanza*kLyricsH);
|
kSystemY+kLyricsY-stanza*kLyricsH);
|
||||||
if (note->fLyrics[stanza-1].fKind & VLSyllable::kHasNext)
|
if (note->fLyrics[stanza-1].fKind & VLSyllable::kHasNext)
|
||||||
syll = [syll stringByAppendingString:@" -"];
|
syll = [syll stringByAppendingString:@" -"];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user