fix slur issue #24929
This commit is contained in:
parent
673c2dfd0d
commit
09a9388f5e
1 changed files with 3 additions and 1 deletions
|
@ -355,9 +355,11 @@ ChordRest* Score::findCR(int tick, int track) const
|
|||
Segment* s = m->first(Segment::SegChordRest);
|
||||
for (;;) {
|
||||
Segment* ns = s->next(Segment::SegChordRest);
|
||||
if (ns == 0 || ns->tick() >= tick)
|
||||
if (ns == 0 || ns->tick() > tick)
|
||||
break;
|
||||
s = ns;
|
||||
if (ns->tick() == tick)
|
||||
break;
|
||||
}
|
||||
if (s)
|
||||
return static_cast<ChordRest*>(s->element(track));
|
||||
|
|
Loading…
Reference in a new issue