Skip to content

Commit

Permalink
fix relayout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
asattely committed Jun 28, 2023
1 parent 5d4a2c0 commit c3f27da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/engraving/layout/v0/chordlayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,8 @@ void ChordLayout::computeUp(Chord* item, LayoutContext& ctx)
Chord* c1 = item->_tremolo->chord1();
Chord* c2 = item->_tremolo->chord2();
bool cross = c1->staffMove() != c2->staffMove();
if (cross && item == c1) {
if (item == c1) {
// we have to lay out the tremolo because it hasn't been laid out at all yet, and we need its direction
TLayout::layout(item->_tremolo, ctx);
}
Measure* measure = item->findMeasure();
Expand Down

0 comments on commit c3f27da

Please sign in to comment.