diff --git a/src/engraving/dom/hairpin.cpp b/src/engraving/dom/hairpin.cpp index 9dc79cf922dce..44645401b510a 100644 --- a/src/engraving/dom/hairpin.cpp +++ b/src/engraving/dom/hairpin.cpp @@ -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; }