fix #288162: wrong space after barline with accidental in invisible staff
This commit is contained in:
parent
d5096d9ec4
commit
641c413653
1 changed files with 4 additions and 0 deletions
|
@ -3972,7 +3972,11 @@ void Measure::setStretchedWidth(qreal w)
|
|||
|
||||
static bool hasAccidental(Segment* s)
|
||||
{
|
||||
Score* score = s->score();
|
||||
for (int track = 0; track < s->score()->ntracks(); ++track) {
|
||||
Staff* staff = score->staff(track2staff(track));
|
||||
if (!staff->show())
|
||||
continue;
|
||||
Element* e = s->element(track);
|
||||
if (!e || !e->isChord())
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue