Skip to content

Commit

Permalink
fix #289605: bad layout of cross-staff ties that also cross system br…
Browse files Browse the repository at this point in the history
…eaks
  • Loading branch information
MarcSabatella committed May 25, 2019
1 parent 63ba901 commit b00b5b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libmscore/tie.cpp
Expand Up @@ -488,10 +488,7 @@ void Tie::slurPos(SlurPos* sp)
}
Chord* ec = endNote()->chord();
sp->p2 = ec->pos() + ec->segment()->pos() + ec->measure()->pos();
if (sp->system1 && (sc->measure() == sp->system1->lastMeasure()) && (ec->measure() != sc->measure()))
sp->system2 = nullptr;
else
sp->system2 = ec->measure()->system();
sp->system2 = ec->measure()->system();

// force tie to be horizontal except for cross-staff or if there is a difference of enharmonic spelling
bool horizontal = startNote()->tpc() == endNote()->tpc() && sc->vStaffIdx() == ec->vStaffIdx();
Expand Down

0 comments on commit b00b5b4

Please sign in to comment.