Fixed menu item animation allocation.

This commit is contained in:
Pieter Hulshoff 2017-01-02 11:12:24 +01:00
parent 6f68195258
commit ac037c764d

View File

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