Skip to content

Commit be376dc

Browse files
committed
Merge pull request #746 from Gai-Luron/fix-move-first-slur-anchor
fix slur issue #24929
2 parents 2acc777 + 09a9388 commit be376dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libmscore/spanner.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,11 @@ ChordRest* Score::findCR(int tick, int track) const
355355
Segment* s = m->first(Segment::SegChordRest);
356356
for (;;) {
357357
Segment* ns = s->next(Segment::SegChordRest);
358-
if (ns == 0 || ns->tick() >= tick)
358+
if (ns == 0 || ns->tick() > tick)
359359
break;
360360
s = ns;
361+
if (ns->tick() == tick)
362+
break;
361363
}
362364
if (s)
363365
return static_cast<ChordRest*>(s->element(track));

0 commit comments

Comments
 (0)