fix #286530: scaling of dot, lines, and more in parts
This commit is contained in:
parent
a9d043ae3f
commit
b8d0338fcd
3 changed files with 12 additions and 2 deletions
|
@ -216,7 +216,7 @@ void Excerpt::createExcerpt(Excerpt* excerpt)
|
|||
score->setMetaTag("partName", partLabel);
|
||||
}
|
||||
|
||||
// layout score
|
||||
// initial layout of score
|
||||
score->addLayoutFlags(LayoutFlag::FIX_PITCH_VELO);
|
||||
score->doLayout();
|
||||
|
||||
|
@ -273,7 +273,13 @@ void Excerpt::createExcerpt(Excerpt* excerpt)
|
|||
}
|
||||
}
|
||||
|
||||
// layout score
|
||||
// update style values if spatium different for part
|
||||
if (oscore->spatium() != score->spatium()) {
|
||||
//score->spatiumChanged(oscore->spatium(), score->spatium());
|
||||
score->styleChanged();
|
||||
}
|
||||
|
||||
// second layout of score
|
||||
score->setPlaylistDirty();
|
||||
oscore->rebuildMidiMapping();
|
||||
oscore->updateChannel();
|
||||
|
|
|
@ -2737,6 +2737,8 @@ void Note::setScore(Score* s)
|
|||
_tieFor->setScore(s);
|
||||
if (_accidental)
|
||||
_accidental->setScore(s);
|
||||
for (NoteDot* dot : _dots)
|
||||
dot->setScore(s);
|
||||
for (Element* el : _el)
|
||||
el->setScore(s);
|
||||
}
|
||||
|
|
|
@ -300,6 +300,8 @@ Score::Score(MasterScore* parent, bool forcePartStyle /* = true */)
|
|||
style().set(Sid::dividerRight, false);
|
||||
}
|
||||
}
|
||||
// update style values
|
||||
_style.precomputeValues();
|
||||
_synthesizerState = parent->_synthesizerState;
|
||||
_mscVersion = parent->_mscVersion;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue