Skip to content

Commit

Permalink
fix #24100: bad layout of horizontal frame
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Mar 10, 2015
1 parent de7c65f commit 9502af3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/layout.cpp
Expand Up @@ -2280,6 +2280,7 @@ bool Score::layoutSystem(qreal& minWidth, qreal systemWidth, bool isFirstSystem,

if (!empty && (minWidth + ww > systemWidth)) {
curMeasure->setSystem(oldSystem);
continueFlag = false;
break;
}
if (curMeasure->type() == Element::Type::MEASURE)
Expand Down Expand Up @@ -2310,6 +2311,7 @@ bool Score::layoutSystem(qreal& minWidth, qreal systemWidth, bool isFirstSystem,
) {
if (_layoutMode != LayoutMode::SYSTEM)
system->setPageBreak(curMeasure->pageBreak());
minWidth += ww;
curMeasure = nextMeasure;
break;
}
Expand Down

0 comments on commit 9502af3

Please sign in to comment.