Replace loop event by simple condition in Process(), improve In/Out position setting

This commit is contained in:
vgstef 2013-09-03 16:30:17 -04:00
parent 9255b16801
commit e4c50ce5b9
2 changed files with 3 additions and 1 deletions

View file

@ -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));

View file

@ -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;