fix #278039: layout symbols attached to segments

This commit is contained in:
Dmitri Ovodok 2018-11-28 10:45:41 +02:00
parent 94e01a8122
commit 85551d8f18
2 changed files with 12 additions and 1 deletions

View file

@ -2491,7 +2491,13 @@ void Score::getNextMeasure(LayoutContext& lc)
staff(staffIdx)->addTimeSig(ts);
}
}
else if (isMaster() && segment.isChordRestType()) {
else if (segment.isChordRestType()) {
for (Element* e : segment.annotations()) {
if (e->isSymbol())
e->layout();
}
if (!isMaster())
continue;
#if 0 // ws
for (Element* e : segment.annotations()) {
if (!(e->isTempoText()

View file

@ -505,6 +505,11 @@
<subtype>0</subtype>
</Arpeggio>
</Chord>
<Symbol>
<name>accdnRH3RanksAccordion</name>
<font>Bravura</font>
<offset x="0" y="-2"/>
</Symbol>
<Chord>
<durationType>quarter</durationType>
<Note>