Skip to content

Commit

Permalink
Merge pull request #24451 from mike-spa/fixHairpinError
Browse files Browse the repository at this point in the history
Fix hairpin layout error
  • Loading branch information
mike-spa authored Sep 4, 2024
2 parents f204d14 + faceeff commit e41c1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engraving/dom/hairpin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ PointF Hairpin::linePos(Grip grip, System** system) const

if (!start) {
Fraction curTick = segment->tick();
Segment* prevSeg = segment->prev1(SegmentType::BarLineType);
Segment* prevSeg = segment->prev1(SegmentType::EndBarLine);
if (prevSeg && prevSeg->tick() == curTick) {
segment = prevSeg;
}
Expand Down

0 comments on commit e41c1f3

Please sign in to comment.