Skip to content

Commit c9cc478

Browse files
committed
Fix porting error
1 parent ea30e5d commit c9cc478

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engraving/rendering/score/tlayout.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2658,6 +2658,8 @@ void TLayout::layoutFretDiagram(const FretDiagram* item, FretDiagram::LayoutData
26582658
}
26592659
}
26602660

2661+
ldata->setPos((noteheadWidth - item->mainWidth()) / 2, -(ldata->shape().bottom() + item->styleP(Sid::fretY)));
2662+
26612663
Harmony* harmony = item->harmony();
26622664
if (harmony) {
26632665
TLayout::layoutHarmony(harmony, harmony->mutldata(), ctx);

0 commit comments

Comments
 (0)