Skip to content

Commit

Permalink
fix #125931 Vertical frame gaps
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Sep 28, 2016
1 parent 8848795 commit 7b2df24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libmscore/layout.cpp
Expand Up @@ -3665,7 +3665,6 @@ bool Score::collectPage(LayoutContext& lc)
return false;

const qreal slb = styleP(StyleIdx::staffLowerBorder);
const qreal sub = styleP(StyleIdx::staffUpperBorder);
bool breakPages = layoutMode() != LayoutMode::SYSTEM;

Page* page = getEmptyPage(lc);
Expand All @@ -3685,8 +3684,7 @@ bool Score::collectPage(LayoutContext& lc)
else {
// this is the first system on page
VBox* vbox = s2->vbox();
distance = vbox ? vbox->topGap() : sub;
distance = qMax(distance, -s2->minTop());
distance = vbox ? 0.0 : styleP(StyleIdx::staffUpperBorder);
}
distance += _staves.front()->userDist();

Expand Down

0 comments on commit 7b2df24

Please sign in to comment.