Skip to content

Commit 397dec9

Browse files
Merge pull request #27567 from mike-spa/fixPortingError
Fix porting error
2 parents ea30e5d + c9cc478 commit 397dec9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: 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)