fix #283832: distance from barline to keysig
This commit is contained in:
parent
3337e5294b
commit
e65fcde888
1 changed files with 2 additions and 0 deletions
|
@ -2047,6 +2047,8 @@ qreal Segment::minHorizontalDistance(Segment* ns, bool systemHeaderGap) const
|
|||
w += score()->styleP(Sid::noteBarDistance);
|
||||
else if (st == SegmentType::BeginBarLine && (nst & (SegmentType::HeaderClef | SegmentType::Clef)))
|
||||
w += score()->styleP(Sid::clefLeftMargin);
|
||||
else if (st == SegmentType::BeginBarLine && nst == SegmentType::KeySig)
|
||||
w += score()->styleP(Sid::keysigLeftMargin);
|
||||
else if (st == SegmentType::EndBarLine) {
|
||||
if (nst == SegmentType::KeySigAnnounce)
|
||||
w += score()->styleP(Sid::keysigLeftMargin);
|
||||
|
|
Loading…
Reference in a new issue