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 committed Sep 4, 2024
1 parent d7bbd3e commit df46ba9
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 df46ba9

Please sign in to comment.