update regressions tests

This commit is contained in:
ws 2018-10-18 14:58:00 +02:00
parent 30110d2cd8
commit 1d014c5cb2
6 changed files with 18 additions and 4 deletions

View file

@ -521,8 +521,11 @@ void Element::writeProperties(XmlWriter& xml) const
}
}
}
for (Pid pid : { Pid::OFFSET, Pid::COLOR, Pid::VISIBLE, Pid::Z, Pid::PLACEMENT}) {
if (propertyFlags(pid) == PropertyFlags::NOSTYLE && !autoplace())
if (propertyFlags(Pid::OFFSET) == PropertyFlags::NOSTYLE && !autoplace())
writeProperty(xml, Pid::OFFSET);
for (Pid pid : { Pid::COLOR, Pid::VISIBLE, Pid::Z, Pid::PLACEMENT}) {
if (propertyFlags(pid) == PropertyFlags::NOSTYLE)
writeProperty(xml, pid);
}
}

View file

@ -105,6 +105,7 @@
</Chord>
<Fermata>
<subtype>fermataBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>
@ -125,6 +126,7 @@
</Chord>
<Fermata>
<subtype>fermataShortBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>
@ -149,6 +151,7 @@
</Chord>
<Fermata>
<subtype>fermataLongBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>
@ -169,6 +172,7 @@
</Chord>
<Fermata>
<subtype>fermataVeryLongBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>

View file

@ -84,6 +84,7 @@
<topTpc>14</topTpc>
<bottomPitch>47</bottomPitch>
<bottomTpc>19</bottomTpc>
<color r="0" g="255" b="0" a="255"/>
</Ambitus>
<TimeSig>
<sigN>4</sigN>

View file

@ -19,8 +19,6 @@
<clefKeyRightMargin>1.75</clefKeyRightMargin>
<barNoteDistance>1.2</barNoteDistance>
<lastSystemFillLimit>0</lastSystemFillLimit>
<pedalPosBelow>0</pedalPosBelow>
<trillPosAbove>0</trillPosAbove>
<dynamicsFontItalic>0</dynamicsFontItalic>
<Spatium>1.76389</Spatium>
</Style>

View file

@ -123,6 +123,7 @@
</Chord>
<Fermata>
<subtype>fermataBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>
@ -167,6 +168,7 @@
</Chord>
<Fermata>
<subtype>fermataShortBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>
@ -211,6 +213,7 @@
</Chord>
<Fermata>
<subtype>fermataLongBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>
@ -258,6 +261,7 @@
</Chord>
<Fermata>
<subtype>fermataVeryLongBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>quarter</durationType>

View file

@ -115,6 +115,7 @@
<Fermata>
<subtype>fermataBelow</subtype>
<play>0</play>
<placement>below</placement>
</Fermata>
<Beam>
<l1>21</l1>
@ -130,6 +131,7 @@
<Fermata>
<subtype>fermataBelow</subtype>
<play>0</play>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>eighth</durationType>
@ -189,6 +191,7 @@
</Chord>
<Fermata>
<subtype>fermataBelow</subtype>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>eighth</durationType>
@ -205,6 +208,7 @@
<Fermata>
<subtype>fermataBelow</subtype>
<timeStretch>1.5</timeStretch>
<placement>below</placement>
</Fermata>
<Chord>
<durationType>whole</durationType>