mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 17:58:53 +01:00
Fixed menu item animation allocation.
This commit is contained in:
parent
6f68195258
commit
ac037c764d
@ -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" );
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user