Skip to content

Commit e3447b8

Browse files
Merge pull request #20486 from mike-spa/fixDisappearingTies
Fix disappearing ties when removing line break
2 parents 97f7481 + 584a7bf commit e3447b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engraving/rendering/dev/systemlayout.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ System* SystemLayout::collectSystem(LayoutContext& ctx)
512512
ctx.mutState().setStartWithLongNames(ctx.state().firstSystem() && layoutBreak->startWithLongNames());
513513
}
514514

515-
if (oldSystem && !(oldSystem->page() && oldSystem->page() != ctx.state().page())) {
515+
if (oldSystem && oldSystem->tick() >= system->endTick() && !(oldSystem->page() && oldSystem->page() != ctx.state().page())) {
516516
// We may have previously processed the ties of the next system (in LayoutChords::updateLineAttachPoints()).
517517
// We need to restore them to the correct state.
518518
SystemLayout::restoreTiesAndBends(oldSystem, ctx);

0 commit comments

Comments
 (0)