Skip to content

Commit

Permalink
fix #284641: skylines of invisible staves affect system spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Feb 23, 2019
1 parent 8fa5fcb commit 5410681
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,10 @@ void Score::hideEmptyStaves(System* system, bool isFirstSystem)
if (ss->show())
systemIsEmpty = false;
}
else if (!staff->show()) {
// TODO: OK to check this first and not bother with checking if empty?
ss->setShow(false);
}
else {
systemIsEmpty = false;
ss->setShow(true);
Expand Down

0 comments on commit 5410681

Please sign in to comment.