Fixed menu back scrolling animations as well.

This commit is contained in:
Pieter Hulshoff 2017-01-02 11:20:10 +01:00
parent ac037c764d
commit efe176e4ed

View File

@ -665,7 +665,7 @@ void ScrollingList::scroll(bool forward)
ViewInfo *currentvi = scrollPoints_->at(i);
ViewInfo *nextvi = scrollPoints_->at(nextI);
resetTweens(c, tweenPoints_->at(loopDecrement(i, 1, components_.size())), currentvi, nextvi, scrollPeriod_);
resetTweens(c, tweenPoints_->at(nextI), currentvi, nextvi, scrollPeriod_);
c->baseViewInfo.font = nextvi->font; // Use the font settings of the next index
c->triggerEvent( "menuScroll" );
}