From efe176e4ed6d64f58860ff793b6f3ba9f06dcc3b Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Mon, 2 Jan 2017 11:20:10 +0100 Subject: [PATCH] Fixed menu back scrolling animations as well. --- RetroFE/Source/Graphics/Component/ScrollingList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/Graphics/Component/ScrollingList.cpp b/RetroFE/Source/Graphics/Component/ScrollingList.cpp index 32100b1..f2a5abc 100644 --- a/RetroFE/Source/Graphics/Component/ScrollingList.cpp +++ b/RetroFE/Source/Graphics/Component/ScrollingList.cpp @@ -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" ); }