Replace loop event by simple condition in Process(), improve In/Out position setting
This commit is contained in:
parent
9255b16801
commit
e4c50ce5b9
2 changed files with 3 additions and 1 deletions
|
@ -1524,7 +1524,7 @@ void ScoreView::setLoopCursor(TextCursor *curLoop, int tick, bool isInPos)
|
|||
x = x - _spatium + w/2;
|
||||
}
|
||||
else {
|
||||
x = x - _spatium + w/2;
|
||||
x = x - _spatium + w/3;
|
||||
}
|
||||
curLoop->setTick(tick);
|
||||
curLoop->setRect(QRectF(x, y, w, h));
|
||||
|
|
|
@ -1189,6 +1189,8 @@ void Seq::heartBeatTimeout()
|
|||
|
||||
QRectF r;
|
||||
for (;guiPos != events.cend(); ++guiPos) {
|
||||
if (guiPos->first > ppos->first)
|
||||
break;
|
||||
if (mscore->loop())
|
||||
if (guiPos->first >= cs->loopOutTick())
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue