fix #280214 Text style offsets are ignored when generating parts
This commit is contained in:
parent
76ed92ca16
commit
4dd37ecc7c
1 changed files with 3 additions and 2 deletions
|
@ -485,9 +485,10 @@ void Excerpt::cloneStaves(Score* oscore, Score* score, const QList<int>& map, QM
|
|||
Element* ne = e->linkedClone();
|
||||
// reset offset as most likely it will not fit
|
||||
PropertyFlags f = ne->propertyFlags(Pid::OFFSET);
|
||||
if (f == PropertyFlags::UNSTYLED)
|
||||
if (f == PropertyFlags::UNSTYLED) {
|
||||
ne->setPropertyFlags(Pid::OFFSET, PropertyFlags::STYLED);
|
||||
ne->setOffset(QPointF());
|
||||
ne->resetProperty(Pid::OFFSET);
|
||||
}
|
||||
ne->setTrack(strack == -1 ? 0 : strack);
|
||||
ne->setScore(score);
|
||||
if (!ns)
|
||||
|
|
Loading…
Reference in a new issue